Module task

Module task 

Source
Expand description

Asynchronous tasks.

Macros§

task_local
Declares task-local variables in LocalKeys of the same names.

Structs§

LocalKey
A variable stored in task-local storage.

Functions§

spawn
Spawns a new async task that can be controlled with the returned task handle.

Type Aliases§

FallibleTask
A spawned task with a fallible response.
Task
A spawned task.