Function polkadot_node_subsystem::gen::metered::channel_with_priority
pub fn channel_with_priority<T>(
capacity_bulk: usize,
capacity_priority: usize,
) -> (MeteredSender<T>, MeteredReceiver<T>)
Expand description
Create a pair of MeteredSender
and MeteredReceiver
. Priority channel is provided