Expand description
EventStore trait and the in-process [InMemoryEventStore] implementation.
The engine defines only the trait. The production implementation is
[SlateDbStore][crate::store_slatedb::SlateDbStore], enabled by the slatedb
feature flag. [InMemoryEventStore] is included here for tests, spikes, and
development without external dependencies.
Structs§
- Append
Result - Metadata returned after a successful
EventStore::append.
Enums§
- Expected
Version - Optimistic concurrency control contract for
EventStore::append.
Traits§
- Atomic
Append - Extension of
EventStorethat atomically appends events and enqueues outbox messages in a single write operation. - Event
Store - Append-only, ordered event stream storage contract.