[][src]Function gstuff::oneshot::oneshot

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

Create a new oneshot channel.