Skip to main content

abort_run

Function abort_run 

Source
pub(crate) fn abort_run(inner: &Arc<Inner>, name: &str, generation: u64)
Expand description

Abort the run of name at generation, if that run is still the one registered. A newer run’s handle is keyed by its own generation, so a stop that raced a fresh spawn leaves the new run alone.