Skip to main content

override_window_for

Function override_window_for 

Source
async fn override_window_for(
    state: &AppState,
    caller: &str,
    cmd: &CommandAgentStopApiData,
) -> Option<AgentStopResult>
Expand description

The answer when agent.stop on cmd.block_id opened an override window for the agent caller (a connection’s registered agent, empty for the window), or None when the stop is immediate: the window’s own, the agent’s own block, or a worker it opened.