Skip to main content

admit_sop_driver_for_run

Function admit_sop_driver_for_run 

pub fn admit_sop_driver_for_run<F>(
    handles: &Arc<Mutex<SopDriverRegistry>>,
    run_id: &str,
    engine: &Arc<Mutex<SopEngine>>,
    spawn: F,
) -> bool
where F: FnOnce() -> JoinHandle<()>,
Expand description

admit_sop_driver for a driver that advances one known run, recorded so a teardown that has to abort the driver can settle that run.