Function dfir_rs::util::unsync::mpsc::channel

source ยท
pub fn channel<T>(capacity: Option<NonZeroUsize>) -> (Sender<T>, Receiver<T>)
Expand description

Create an unsync MPSC channel, either bounded (if capacity is Some) or unbounded (if capacity is None).