Skip to main content

Subscription

Type Alias Subscription 

Source
pub(super) type Subscription = (Receiver<Option<Result<Arc<Outcome>, Failure>>>, Arc<()>);
Expand description

Reply handed to a caller: the channel it awaits the outcome on, plus the sole strong liveness token whose drop cancels the in-flight fetch.