Data.CQRS.EventStore
Description
Event store data types.
- data EventStore = EventStore {
- storeEvents :: (Event e a, Binary e) => GUID a -> Int -> [e] -> IO ()
- retrieveEvents :: (Event e a, Binary e) => GUID a -> IO (Int, [e])
- withTransaction :: forall a. IO a -> IO a
- closeEventStore :: IO ()
Documentation
data EventStore Source
Event stores are the backend used for reading and storing all the information about recorded events.
Constructors
| EventStore | |
Fields
| |