eventful-memory-0.1.1: In-memory implementations for eventful

Safe HaskellNone
LanguageHaskell2010

Eventful.Store.Memory

Synopsis

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.