engine v0.1.2 Engine.Storage.Eventstore
Interface with the Extreme EventStore driver to save and read to EVENTSTORE. Note that the Engine supervisor starts the driver naming it as ‘EventStore’. iex> Engine.EventStore.save_event(“people”,%Obligation.Event.MoneyDeposited{}) This Eventstore interface is intelligent when saving snapshots
Summary
Functions
Save a list of events to the stream
Save snapshot after checking the frequency config, adding -snapshot to its namespace
Load all events for that stream
Load events, but from a specific position
Load the last snapshot for that stream
Functions
Save snapshot after checking the frequency config, adding -snapshot to its namespace