Function new

Source
pub fn new<T>(v: T) -> (Sender<T>, Receiver<T>)
Expand description

Build a new Sender and Receiver pair, initialized to v.