Skip to main content

oneshot

Function oneshot 

Source
pub fn oneshot<T>() -> (Deliver<T>, Oneshot<T>)
Expand description

A single-value channel between one completion and one future.