Skip to main content

async_task

Attribute Macro async_task 

Source
#[async_task]
Expand description

Async counterpart of sync_task. The run method must be async fn and all the rules about parameters (shared references, optional leading ctx: &FlowContext) are identical.