Skip to main content

dispatch_with_timeout

Function dispatch_with_timeout 

Source
pub async fn dispatch_with_timeout(
    call: &CapabilityCall,
    self_provider_id: &str,
    atlas: &mut AtlasClient,
    runtime: &PlanRuntime,
    plan_id: &str,
    timeout: Option<Duration>,
) -> CapabilityCallResult
Expand description

Dispatch one call with an optional MCP deadline while always releasing its Atlas channel. Verification uses this to bound a verifier that stops responding without leaking the ConnectCapability record.