Skip to main content

api_is_offline_for

Function api_is_offline_for 

Source
pub(super) fn api_is_offline_for(
    mstore: &Store,
    block_id: &str,
    net: &ConnectivityStatus,
    now_ms: u64,
) -> bool
Expand description

Whether a message to the agent on block_id would start a turn its offline model API fails (agent_status::decide, spec D2 of SPEC_AGENT_AVAILABILITY_EVERY_PATH_ONE_DECISION_2026_10_31.md). BLOCKING.