Function peer_is_connected

Source
pub fn peer_is_connected(
    id: RustNodeId,
    peer_id: PeerId,
) -> impl FnMut(ClusterEvent) -> Ready<bool>
Expand description

Predicate returning true when encountered an event signalling that the peer peer_id is connected to the node id.