Skip to main content

Module deferred

Module deferred 

Source
Expand description

One-shot async rendezvous — mirrors Effect.ts Deferred<A, E>.

Backed by tokio::sync::watch with Option<[Exit](crate::Exit)>: None until the first completion, then Some. Only the first successful succeed / fail / … wins; later attempts return false from those Effect<bool, …> helpers.

Structs§

Deferred
Shared one-shot cell completed with an Exit value.