cushy::reactive::channel

Function bounded

Source
pub fn bounded<T>(capacity: usize) -> (Sender<T>, Receiver<T>)
where T: Send + 'static,
Expand description

Returns multi-producer, single-consumer channel that limits queued values to capacity items.