pub fn bounded<T>(capacity: usize) -> (Sender<T>, Receiver<T>)where T: Send + 'static,
Returns multi-producer, single-consumer channel that limits queued values to capacity items.
capacity