1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
//! The Threads prelude. //! //! The purpose of this module is to alleviate imports of many common thread //! token traits by adding a glob import to the top of thread token heavy //! modules: //! //! ``` //! # #![allow(unused_imports)] //! use drone_core::thr::prelude::*; //! ``` #[doc(no_inline)] pub use crate::thr::ThrToken; #[doc(no_inline)] pub use crate::{ fib::{ ThrFiberClosure as _, ThrFiberFuture as _, ThrFiberGen as _, ThrFiberStreamPulse as _, ThrFiberStreamRing as _, }, thr::{SoftThrToken as _, ThrExec as _, Thread as _}, };