pub fn new_consensus_notifier_listener_pair(
    timeout_ms: u64
) -> (ConsensusNotifier, ConsensusNotificationListener)
Expand description

This method returns a (ConsensusNotifier, ConsensusNotificationListener) pair that can be used to allow consensus and state sync to communicate.

Note: consensus should take the notifier and state sync should take the listener.