[][src]Function instrumented_mpsc::unbounded

pub fn unbounded<T>() -> (UnboundedSender<T>, UnboundedReceiver<T>)

Wraps futures::channel::mpsc::unbounded returning an futures::channel::mpsc::UnboundedSender futures::channel::mpsc::UnboundedReceiver set with small wrappers counting messages send and received.