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.