Function batch_channel::unbounded
source · pub fn unbounded<T>() -> (Sender<T>, Receiver<T>)Expand description
Allocates an unbounded channel and returns the sender, receiver pair.
pub fn unbounded<T>() -> (Sender<T>, Receiver<T>)Allocates an unbounded channel and returns the sender, receiver pair.