Module task

Source
Expand description

Machinery for tasks.

Macrosยง

task ๐Ÿ”’

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ยง

NonSendTaskBox ๐Ÿ”’
A boxed version of NonSendTaskOnce.
NonSendTaskOnce ๐Ÿ”’
A task that must be run on the same thread it originated in.
TaskBox ๐Ÿ”’
A boxed version of TaskOnce.
TaskOnce ๐Ÿ”’
A task that can be sent between threads and run. The name method is for profiling purposes.