Expand description
Core dispatch loop that composes all engine primitives.
The dispatch loop orchestrates the full run lifecycle: promote → select → gate → lease → execute → finish → release.
Workers execute via tokio::task::spawn_blocking and communicate results
back through an unbounded MPSC channel. The dispatch loop owns all WAL
mutation authority exclusively — workers never write to the WAL.
Structs§
- Dispatch
Config - Configuration parameters for the dispatch loop that group backoff, concurrency, lease, and snapshot settings.
- Dispatch
Loop - The core dispatch loop that composes all engine primitives.
- RunSummary
- Summary of a
run_until_idlesession. - Tick
Result - Result of a single dispatch tick.
Enums§
- Dispatch
Error - Errors that can occur during dispatch.
Type Aliases§
- Authority
Error - Concrete authority error type used by the dispatch loop.