Function reth_metrics::common::mpsc::metered_unbounded_channel

source ยท
pub fn metered_unbounded_channel<T>(
    scope: &'static str,
) -> (UnboundedMeteredSender<T>, UnboundedMeteredReceiver<T>)
Available on crate feature common only.
Expand description

Wrapper around [mpsc::unbounded_channel] that returns a new unbounded metered channel.