Skip to main content

cancel_async_call

Function cancel_async_call 

Source
async fn cancel_async_call(
    consumer_id: &str,
    running: &RunningAsyncCall,
    atlas: &mut AtlasClient,
) -> Result<()>
Expand description

Call a provider’s async cancel contract through atlas/MCP.

The cancel payload mirrors the status polling payload and sends run_id when present. Atlas channels are disconnected after the MCP request returns.