cqrs-0.9.0: Command-Query Responsibility Segregation

Safe HaskellNone

Data.CQRS.Repository

Contents

Synopsis

Repository

data Repository e b Source

Repository consisting of an event store and an event bus.

newRepository :: (EventStoreBackend b, Show e, NFData e) => Settings -> Pool b -> IO (Repository e b)Source

Create a repository from a pool of event store backends.

Settings

data Settings Source

Repository settings

defaultSettings :: SettingsSource

Default repository settings.