pub(crate) fn bounded<T>(capacity: usize) -> (Sender<T>, Receiver<T>)
Create a channel which holds up to capacity messages, which must not be zero.
capacity