[][src]Function async_oneshot::oneshot

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

Create a new oneshot channel pair.