Function ockam_executor::channel::channel
source · pub fn channel<T>(_length: usize) -> (Sender<T>, Receiver<T>)
Expand description
At present all channels are statically allocated with a fixed size
of 16
.
This means that the length
parameter is not currently used and
exists purely for compatibility with tokio::sync::mpsc::channel