[][src]Function channel::new

pub fn new<T>(size: usize, gauge: &IntGauge) -> (Sender<T>, Receiver<T>)

Similar to mpsc::channel, new creates a pair of Sender and Receiver