View Source Eventize.Persistence.InMemoryEventStore (eventize v0.2.0)
InMemoryEventStore is a Eventize.Persistence.EventStore
process used to store events for Eventize.EventSourcedProcess
instances in memory.
Link to this section Summary
Functions
Callback implementation for Eventize.Persistence.EventStore.append_events/3
.
Callback implementation for Eventize.Persistence.EventStore.append_snapshot/3
.
Returns a specification to start this module under a supervisor.
Callback implementation for Eventize.Persistence.EventStore.delete_events/3
.
Callback implementation for Eventize.Persistence.EventStore.delete_snapshots/3
.
Initializes a InMemoryEventStore with a optional serializer.
Callback implementation for Eventize.Persistence.EventStore.load_events/3
.
Callback implementation for Eventize.Persistence.EventStore.load_snapshot/3
.
Link to this section Functions
Callback implementation for Eventize.Persistence.EventStore.append_events/3
.
Callback implementation for Eventize.Persistence.EventStore.append_snapshot/3
.
Returns a specification to start this module under a supervisor.
See Supervisor
.
Callback implementation for Eventize.Persistence.EventStore.delete_events/3
.
Callback implementation for Eventize.Persistence.EventStore.delete_snapshots/3
.
@spec init(%{serializer: atom()} | term()) :: {:ok, Eventize.Persistence.InMemoryEventStore.State.t()}
Initializes a InMemoryEventStore with a optional serializer.
Callback implementation for Eventize.Persistence.EventStore.load_events/3
.
Callback implementation for Eventize.Persistence.EventStore.load_snapshot/3
.