Skip to main content

Module process_manager

Module process_manager 

Source
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 TransitionStay, 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§

ProcessManagerBuilder
ProcessManagerHandles
ProcessManagerPattern
ProcessManagerTopology

Enums§

Transition
What a process manager does in response to an event.

Traits§

ProcessManager
Typed state-machine process manager.