Module task

Source
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 TaskTracker collection.

Structs§

AbortOnDropHandle
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.
JoinMapKeys
An iterator over the keys of a JoinMap.
LocalPoolHandle
A cloneable handle to a local pool, used for spawning !Send tasks.