Function async_oneshot::oneshot[][src]

pub fn oneshot<T>() -> (Sender<T>, Receiver<T>)

Create a new oneshot channel pair.