referrerpolicy=no-referrer-when-downgrade
polkadot_node_network_protocol::request_response::network

Function notification_service

pub fn notification_service(
    protocol: ProtocolName,
) -> (ProtocolHandlePair, Box<dyn NotificationService>)
Expand description

Create new (protocol, notification) handle pair.

Handle pair allows Notifications and the protocol to communicate with each other directly.