Skip to main content

task

Attribute Macro task 

Source
#[task]
Expand description

Wraps the annotated function body in a thread-pool task and exposes a TaskHandle.