ntex_util::channel::oneshot

Function channel

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

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