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

Function 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