Safe Haskell | None |
---|---|
Language | Haskell2010 |
Memory-based event store. Used primarily for testing.
- data Storage e
- newEventStore :: Show e => Storage e -> IO (EventStore e)
- newArchiveStore :: Show e => IO UUID -> Storage e -> IO (ArchiveStore e)
- newStorage :: IO (Storage e)
- newSnapshotStore :: IO (SnapshotStore a)
Documentation
newEventStore :: Show e => Storage e -> IO (EventStore e) Source
Create a memory-backend event store.
newArchiveStore :: Show e => IO UUID -> Storage e -> IO (ArchiveStore e) Source
Create a memory-backed archive store.
newStorage :: IO (Storage e) Source
Create backing memory for a memory-based event store or archive store.
newSnapshotStore :: IO (SnapshotStore a) Source
Create a new memory-backed snapshot store.