Skip to main content

refuse_other_agents_processes

Function refuse_other_agents_processes 

Source
pub(crate) async fn refuse_other_agents_processes(
    state: &AppState,
    caller: &str,
    block_id: &str,
) -> Result<(), String>
Expand description

An agent’s connection ends processes only under its own block or a worker’s it opened. Another agent’s go through agent.stop, which gives the person their override window, so killing them directly would skip it.