Skip to main content

delete_parked_blocks_of

Function delete_parked_blocks_of 

Source
pub(crate) async fn delete_parked_blocks_of(
    state: &AppState,
    agent_id: &str,
) -> usize
Expand description

Delete every parked block of the agent agent_id, stopping its process first: deleting the agent is the one thing that deletes its block. A block is the agent’s through agent_of_block, so deleting a template leaves the blocks of the agents launched from it. Returns how many went. A block that is shown in a tab is not touched, as before.