sp_utils::mpsc

Function tracing_unbounded

Source
pub fn tracing_unbounded<T>(
    key: &'static str,
) -> (TracingUnboundedSender<T>, TracingUnboundedReceiver<T>)
Expand description

Wrapper around mpsc::unbounded that tracks the in- and outflow via UNBOUNDED_CHANNELS_COUNTER