referrerpolicy=no-referrer-when-downgrade

Function polkadot_node_subsystem::gen::metered::oneshot::channel

pub fn channel<T>(
    name: &'static str,
    soft_timeout: Duration,
    hard_timeout: Duration,
) -> (MeteredSender<T>, MeteredReceiver<T>)
Expand description

Create a new pair of OneshotMetered{Sender,Receiver}.