Function new

pub(crate) fn new<C>(chan: C) -> (Sender<C>, Receiver<C>)

Wraps a channel into the reference counter.