Function gstuff::oneshot::oneshot

source ·
pub fn oneshot<T>() -> (Sender<T>, Receiver<T>)
Expand description

Create a new oneshot channel.