Skip to main content

stop_background_tasks

Function stop_background_tasks 

Source
async fn stop_background_tasks(before: &AgentResources) -> usize
Expand description

Stop the agent’s running run_in_background tasks, each with its process tree, after re-checking each PID is still that task. Returns how many.