2022-01-27 06:26:09 -08:00
|
|
|
//! Extra utilities for spawning tasks
|
|
|
|
|
|
2022-04-26 10:25:48 -07:00
|
|
|
#[cfg(tokio_unstable)]
|
|
|
|
|
mod join_map;
|
2022-07-12 16:20:26 -04:00
|
|
|
#[cfg(not(target_os = "wasi"))]
|
2022-01-27 06:26:09 -08:00
|
|
|
mod spawn_pinned;
|
2022-07-12 16:20:26 -04:00
|
|
|
#[cfg(not(target_os = "wasi"))]
|
2022-01-27 06:26:09 -08:00
|
|
|
pub use spawn_pinned::LocalPoolHandle;
|
2022-04-26 10:25:48 -07:00
|
|
|
|
|
|
|
|
#[cfg(tokio_unstable)]
|
|
|
|
|
#[cfg_attr(docsrs, doc(cfg(all(tokio_unstable, feature = "rt"))))]
|
2023-10-15 16:47:41 +02:00
|
|
|
pub use join_map::{JoinMap, JoinMapKeys};
|
2023-10-22 16:35:19 +02:00
|
|
|
|
|
|
|
|
pub mod task_tracker;
|
|
|
|
|
pub use task_tracker::TaskTracker;
|