Function channel
pub fn channel<T>(capacity: usize) -> (MeteredSender<T>, MeteredReceiver<T>)
Expand description
Create a pair of MeteredSender
and MeteredReceiver
. No priorities are provided
pub fn channel<T>(capacity: usize) -> (MeteredSender<T>, MeteredReceiver<T>)
Create a pair of MeteredSender
and MeteredReceiver
. No priorities are provided