cqrs-0.5.0: Command-Query Responsibility Segregation

Data.CQRS.EventStore

Description

Event store functions.

Synopsis

Documentation

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

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.