Function polkadot_node_subsystem::gen::metered::channel
pub fn channel<T>(capacity: usize) -> (MeteredSender<T>, MeteredReceiver<T>)
Expand description
Create a pair of MeteredSender
and MeteredReceiver
. No priorities are provided