Skip to main content

resolve_async_group

Function resolve_async_group 

Source
pub async fn resolve_async_group(
    atlas: &mut AtlasClient,
    provider_id: &str,
    contract_id: &str,
) -> Result<Option<AsyncGroup>, String>
Expand description

Resolve the required async sub-contracts for contract_id. Async capabilities must register both <contract_id>/status and <contract_id>/cancel; registering only one is a provider configuration error surfaced to the caller before dispatching the initial run call.