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