Module task

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;rt

Modules§

task_trackerrt
Types related to the TaskTracker collection.

Structs§

AbortOnDropHandlert
A wrapper around a tokio::task::JoinHandle, which aborts the task when it is dropped.
LocalPoolHandlert
A cloneable handle to a local pool, used for spawning !Send tasks.