Function ckb_channel::oneshot::channel

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

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