TaskGroup
Description
- Derived from
-
Disposable abstract
The TaskGroup class represents a group of tasks.
To run all TaskFlags.Synchronized tasks in a group, call RunSynchronized. To cancel the tasks in a group, use Cancel.
- See also
Public / Methods
Cancel
Cancels all queued tasks in this group and optionally waits for all pending ones to terminate.
Upon disposal, this method is called automatically with true being passed to wait in.
RunSynchronized
Runs all pending tasks in this given group that are flagged with TaskFlags.Synchronized in the callers thread.