Skip to main content

before_spawn

Function before_spawn 

Source
pub fn before_spawn(settings: &Settings) -> Result<bool>
Expand description

Called before a tool is spawned. For the first tool of a heavy check, waits for a slot, showing the wait in the check’s row. Returns whether this thread holds a slot, so the caller exports HELD_ENV; an Err when the busy policy deferred the check, so the caller does not spawn.