cqrs-0.6.0: Command-Query Responsibility Segregation

Data.CQRS.EventStore

Description

Event store functions.

Synopsis

Documentation

enumerateEventStore :: forall a e. Serialize e => EventStore e -> Int -> Enumerator (Int, (GUID, Int, e)) IO aSource

Enumerate all the events from an event store that occur at or later than a given logical timestamp.

withEventStore :: IO EventStoreBackend -> (EventStore e -> IO a) -> IO aSource

Perform an IO action with an open event store.