moirai-async 0.6.1

Async/await support for Moirai concurrency library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Async executor module for Moirai.
//!
//! This module declares submodules for task executor components following SLAP/SRP.

/// Executor core: spawn, run, and shutdown of async tasks.
pub mod core;
/// Join handles returned by spawn operations.
pub mod handle;
pub(super) mod result_slot;
/// Executor runtime statistics.
pub mod stats;
pub(super) mod task;
pub(super) mod waker;

pub use core::AsyncExecutor;
pub use handle::AsyncHandle;
pub use stats::ExecutorStats;