1 | //! Extra utilities for spawning tasks |
---|---|
2 | |
3 | #[cfg(tokio_unstable)] |
4 | mod join_map; |
5 | #[cfg(not(target_os = "wasi"))] |
6 | mod spawn_pinned; |
7 | #[cfg(not(target_os = "wasi"))] |
8 | pub use spawn_pinned::LocalPoolHandle; |
9 | |
10 | #[cfg(tokio_unstable)] |
11 | #[cfg_attr(docsrs, doc(cfg(all(tokio_unstable, feature = "rt"))))] |
12 | pub use join_map::{JoinMap, JoinMapKeys}; |
13 | |
14 | pub mod task_tracker; |
15 | pub use task_tracker::TaskTracker; |
16 |