pub fn channel<T>(capacity: usize) -> (Sender<T>, Receiver<T>)where T: Clone,
Constructs a pair of broadcast endpoints, with a fixed-size buffer of the given capacity