API Reference eventize v0.1.0
modules
Modules
EventSourcedProcess is a optininated GenServer
that will
use event sourcing to store its state as a sequence of events.
A module that impliments the cleanup for a
Eventize.EventSourcedProcess
.
A module that impliments event apply
functionality for a Eventize.EventSourcedProcess
.
This module will handle initialization for a
Eventize.EventSourcedProcess
A struct representing the state of a Eventize.EventSourcedProcess
.
EventStore is a GenServer
process used to store
events for Eventize.EventSourcedProcess
instances.
Represents a event with payload, meta data and a sequence number.
Represents a snapshot with payload, meta data and version.
InMemoryEventStore is a Eventize.Persistence.EventStore
process used to store events for EventizeEntity
instances in memory.
State is a struct that keeps all stored events in their streams.
Represents a stored event.
Represents a stored snapshot.
Helper to get a EventStore.event_bus
that doesn't store any events.
A serializer that uses the Jason library.
Behaviour that specifies how events and snapshots can be serialized and deserialized.