mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-18 21:05:40 +00:00
chore: avoid glob imports (#2722)
This commit is contained in:
committed by
GitHub
parent
73b9247c10
commit
5b363358b8
@@ -16,7 +16,13 @@
|
||||
|
||||
//! Metered variant of unbounded mpsc channels to be able to extract metrics.
|
||||
|
||||
use super::*;
|
||||
use futures::{channel::mpsc, task::Poll, task::Context, sink::SinkExt, stream::Stream};
|
||||
|
||||
use std::result;
|
||||
use std::pin::Pin;
|
||||
|
||||
use super::Meter;
|
||||
|
||||
|
||||
/// Create a wrapped `mpsc::channel` pair of `MeteredSender` and `MeteredReceiver`.
|
||||
pub fn unbounded<T>(name: &'static str) -> (UnboundedMeteredSender<T>, UnboundedMeteredReceiver<T>) {
|
||||
|
||||
Reference in New Issue
Block a user