Skip to main content

cancel_run

Function cancel_run 

Source
pub fn cancel_run(run_id: &str, reason: &str) -> bool
Expand description

Stop the run run_id for reason (a Drone run, not a ledger row). The block in flight ends, an Agent block’s process with it, and the run ends cancelled. false when no such run is going.