Function iota_metrics::metered_channel::channel

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

Constructor Similar to mpsc::channel, channel creates a pair of Sender and Receiver Deprecated: use monitored_mpsc::channel instead.