referrerpolicy=no-referrer-when-downgrade
polkadot_node_subsystem::gen::metered

Function channel

pub fn channel<T>(capacity: usize) -> (MeteredSender<T>, MeteredReceiver<T>)
Expand description

Create a pair of MeteredSender and MeteredReceiver. No priorities are provided