Function iota_metrics::monitored_mpsc::channel

source ยท
pub fn channel<T>(name: &str, size: usize) -> (Sender<T>, Receiver<T>)
Expand description

Wraps [mpsc::channel()] to create a pair of Sender and Receiver