Skip to main content

Module state

Module state 

Source
Available on crate feature schedule only.
Expand description

The scheduler’s decision state machine. Pure — no clock, no tasks, no IO — so every overlap / failure / cap transition is unit-tested deterministically.

Structs§

SchedulerState
Mutable scheduler counters + policy.

Enums§

AfterRun
What the loop should do after a run finishes.
RunOutcome
Outcome of a finished run, as seen by the state machine.
TickAction
What the loop should do when a scheduled tick fires.

Functions§

cooldown_delay
Extra delay before the next tick when a run tripped the circuit breaker.