Expand description
Saga / Process Manager pattern.
A Saga reacts to domain events and dispatches commands to drive
a long-running business process across multiple aggregates. State
is keyed by a correlation id derived from each event.
Structs§
- InMemory
Saga State Store - Reference in-memory implementation. Survives runner restarts within the same process; loses everything on process restart.
- Journal
Saga State Store - Journal-backed saga state store.
- Saga
Handles - Handles handed back after
Topology::materialize. - Saga
Pattern - Public, zero-sized handle for the saga pattern.
- Saga
Topology - Materializable description of a saga.
Enums§
- Saga
Action - What a saga decides to do in response to an event.
Traits§
- Saga
- User-defined saga / process manager.
- Saga
State Store - Per-correlation state storage. Saga state is opaque (
Vec<u8>) at this layer; the saga supplies the codec viacrate::saga::Saga::encode_state/crate::saga::Saga::decode_state.