[][src]Function ntex::channel::oneshot::channel

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

Creates a new futures-aware, one-shot channel.