Skip to main content

shutdown_now

Function shutdown_now 

Source
pub(crate) fn shutdown_now(
    state: &AppState,
    ctx: &RpcContext,
    cmd: CommandAgentShutdownNowData,
) -> Result<AgentShutdownNowResult, String>
Expand description

The banner’s “Close now”: ends the wait early, so it is the AgentMux window’s alone, proven (keeping is the safe direction and is open to any caller).