async_foundation/common/mod.rs
1//! Common async utilities used across the crate.
2//!
3//! The main building blocks here are:
4//!
5//! - [`ready_future`] – a manually-completable future (`ReadyFuture`) that can be
6//! completed, aborted, or timed out from external code.
7//! - [`ready_observable`] – a simple observable that allows multiple waiters to be
8//! notified when a single event occurs.
9//!
10//! These types are used internally by the networking primitives and can also be
11//! useful in user code for coordinating custom async workflows.
12
13pub mod ready_future;
14pub mod ready_future_state;
15pub mod ready_observable;