id_effect 0.7.0

Effect<A, E, R>: lazy Send effects over a typed capability list, run on a fiber runtime (Tokio executor), with layers, streams, schedules and coordination
Documentation
//! Fiber coordination primitives: `Deferred` (one-shot), `Semaphore`, `Latch`, `Queue`,
//! `Channel`, `PubSub`, `Ref`, `SynchronizedRef`, `SubscriptionRef` and `Supervisor`.
//! Effect.ts semantics throughout.
//!
//! - **Plain constructors.** `Ref::new`, `Semaphore::new`, `Queue::bounded`, … build the
//!   primitive directly (not `make() -> Effect`); the operations are lazy effects, generic over
//!   their error type and environment where they cannot fail.
//! - **Real suspensions.** A waiting operation (acquire, take, offer, wait) parks the fiber on a
//!   waker in the primitive's FIFO wait list; no thread is blocked or spun, and nothing here uses
//!   a tokio watch channel or a thread-parking run edge (`G-nb` is clean on this directory).
//! - **Interruption.** Interrupting a waiting fiber drops its suspended step, which removes the
//!   waiter; a permit or item handed to it but not yet observed goes back to the primitive.

mod waiters;

mod channel;
mod deferred;
mod latch;
mod pubsub;
mod queue;
mod ref_;
mod semaphore;
mod subscription_ref;
mod supervisor;
mod synchronized_ref;

pub use channel::*;
pub use deferred::*;
pub use latch::*;
pub use pubsub::*;
pub use queue::*;
pub use ref_::*;
pub use semaphore::*;
pub use subscription_ref::*;
pub use supervisor::*;
pub use synchronized_ref::*;