Skip to main content

boot

Function boot 

Source
pub fn boot<S: Supervisor>(
    sup: &mut S,
    cfg: &InitConfig,
) -> Result<HashMap<String, Pid>>
Expand description

Walk the config and spawn every enabled service. Returns the per-name PIDs. Deterministic; errors on the first spawn failure with no partial state (caller can retry with a new env).