Expand description
Extra utilities for spawning tasks
This module is only available when the rt feature is enabled. Note that enabling the
join-map feature will automatically also enable the rt feature.
Re-exports§
pub use task_tracker::TaskTracker;
Modules§
- task_
tracker - Types related to the
TaskTrackercollection.
Structs§
- Abort
OnDrop Handle - A wrapper around a
tokio::task::JoinHandle, which aborts the task when it is dropped. - JoinMap
- A collection of tasks spawned on a Tokio runtime, associated with hash map keys.
- Join
MapKeys - An iterator over the keys of a
JoinMap. - Local
Pool Handle - A cloneable handle to a local pool, used for spawning
!Sendtasks.