mirror of
https://github.com/async-rs/async-std.git
synced 2025-04-13 11:56:43 +00:00
* Refactor the task module * Fix clippy warning * Simplify task-local entries * Reduce the amount of future wrapping * Cleanup * Simplify stealing
13 lines
290 B
Rust
13 lines
290 B
Rust
//! Task executor.
|
|
//!
|
|
//! API bindings between `crate::task` and this module are very simple:
|
|
//!
|
|
//! * The only export is the `schedule` function.
|
|
//! * The only import is the `crate::task::Runnable` type.
|
|
|
|
pub(crate) use pool::schedule;
|
|
|
|
use sleepers::Sleepers;
|
|
|
|
mod pool;
|
|
mod sleepers;
|