Function hydroflow::util::unsync::mpsc::bounded

source ยท
pub fn bounded<T>(capacity: usize) -> (Sender<T>, Receiver<T>)
Expand description

Create a bounded unsync MPSC channel. Panics if capacity is zero.