Function batch_channel::unbounded

source ·
pub fn unbounded<T>() -> (Sender<T>, Receiver<T>)
Expand description

Allocates a new, unbounded channel and returns the sender, receiver pair.