Expand description
Process Manager pattern — typed state-machine alternative to
crate::saga::SagaPattern.
Where crate::saga::Saga is free-form (mutate state, emit
actions), a ProcessManager is bounded: every event causes a
Transition — Stay, move to a new State and dispatch
commands, or Complete. Use it when the state space is small and
enumerable, and you want compile-time exhaustiveness checking on
handle clauses.
Structs§
Enums§
- Transition
- What a process manager does in response to an event.
Traits§
- Process
Manager - Typed state-machine process manager.