Attribute Macrosยง
- async_
task - Async counterpart of
sync_task. Therunmethod must beasync fnand all the rules about parameters (shared references, optional leadingctx: &FlowContext) are identical. - sync_
task - Turn an inherent
impl Block { fn run(...) -> ... }into aSyncTask/AsyncTasktrait implementation for the taskflow scheduler.