Safe Haskell | None |
---|---|
Language | Haskell2010 |
- memoryEventStore :: IO (EventStore serialized STM, GloballyOrderedEventStore serialized STM)
- module Eventful.Store.Class
Documentation
memoryEventStore :: IO (EventStore serialized STM, GloballyOrderedEventStore serialized STM) Source #
An EventStore
that stores events in a TVar
and runs in STM
. This
functions initializes the store by creating the TVar
and hooking up the
event store API to that TVar
.
module Eventful.Store.Class