Skip to main content

boot_worker

Function boot_worker 

Source
pub async fn boot_worker(cfg: &WorkerConfig) -> Result<BootedWorker, BootError>
Expand description

Full boot: bind the listener, write the token file into a private per-boot dir, spawn the launcher, await a valid handshake, delete the token file, and mark the lifecycle Ready.