script

Module task

Source
Expand description

Machinery for tasks.

Macrosยง

Structsยง

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

Traitsยง

  • TaskBox ๐Ÿ”’
    A boxed version of TaskOnce.
  • TaskOnce ๐Ÿ”’
    A task that can be run. The name method is for profiling purposes.