Skip to main content

par

Attribute Macro par 

Source
#[par]
Expand description

Hint on a statement of a synchronous #[psync::graph] function: it is worth a thread (a slow call psync cannot recognize by its path, such as a helper that downloads a file). psync may then run it on another thread beside independent statements. Outside a synchronous #[psync::graph] function it has no effect, and on a statement it does not compile (E0658).