Expand description
Contains the TaskController API, providing a way to spawn tasks that can be can cancelled using the TaskController, with the option of falling back to a timeout cancel.
Structsยง
- Task
Controller - Handles spawning tasks which can also be cancelled by calling
cancel
on the task controller. If astd::time::Duration
is supplied using thewith_timeout
constructor, then any tasks spawned by the TaskController will automatically be cancelled after the supplied duration has elapsed.