Expand description
How a Drone run is stopped. It lives in the core so the run ledger
(backend/jobs: a job’s timeout, cancel_other, a stop from the Jobs tab) can
stop the run without reaching up into drone/; the executor re-exports it.
Structs§
- Cancel
- How a run is stopped: a flag the scheduler looks at before each block and that ends the block in flight, with the reason it was set for.
Functions§
- cancel_
run - Stop the run
run_idforreason(a Drone run, not a ledger row). The block in flight ends, an Agent block’s process with it, and the run endscancelled.falsewhen no such run is going. - forget_
run - A run has ended.
- register_
run - A run has started:
cancel_runcan stop it untilforget_run.