Function mpsc_channel

Source
pub(crate) fn mpsc_channel<T>(buffer: usize) -> (Sender<T>, Receiver<T>)
Expand description

Wrapper for futures::channel::mpsc::channel that embodies the #[allow]

We don’t care about mq tracking in this test crate.

Exactly like tor_async_utils::mpsc_channel_no_memquota, but we can’t use that here for crate hierarchy reasons.