Function polkadot_node_subsystem::gen::metered::unbounded
source · pub fn unbounded<T>(
) -> (UnboundedMeteredSender<T>, UnboundedMeteredReceiver<T>)
Expand description
Create a wrapped mpsc::channel
pair of MeteredSender
and MeteredReceiver
.