Skip to main content

spawn_headless_run_driver

Function spawn_headless_run_driver 

pub fn spawn_headless_run_driver(
    config: Config,
    engine: Arc<Mutex<SopEngine>>,
    audit: Option<Arc<SopAuditLogger>>,
    first_action: SopRunAction,
) -> Option<JoinHandle<()>>
Expand description

Start a headless run driver without registering it with a generation.

Only for a caller that has no generation to register with, where the process itself bounds the driver’s life. Every generation-owned surface uses spawn_and_register_sop_driver, which cannot create a driver that the generation has not already accepted.