Module script::task

source ·
Expand description

Machinery for tasks.

Macros

Structs

  • A task that can be cancelled by toggling a shared flag.
  • Encapsulated state required to create cancellable tasks from non-script threads.

Traits

  • A boxed version of TaskOnce.
  • A task that can be run. The name method is for profiling purposes.