Expand description
Manage events and related operations for event-sourcing.
Structs§
- Entity
Events - A
Vecwrapper that manages event-stream of an entity with helpers for event-sourcing operations - Event
With Context - Generic
Event - Represent the events in raw deserialized format when loaded from database
- Persisted
Event - Strongly-typed event wrapper with metadata for successfully stored events.
- Snapshot
Generic Event - Row type of every loader on a
snapshotrepo (aliased asRepo__DbEventthere).GenericEvent<Id>itself is untouched — every existing repo’squery_as!and.sqlxentry stay as is; this confines the wider row shape to snapshot repos only.
Type Aliases§
- Last
Persisted - An alias for iterator over the persisted events