Function ckb_channel::oneshot::channel[][src]

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

Create a new one-shot channel for sending single values across asynchronous tasks.