async fn stop_background_tasks(before: &AgentResources) -> usizeExpand 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.
async fn stop_background_tasks(before: &AgentResources) -> usizeStop 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.