If the passed protocols is a GossipSub protocol, then it resolves only once a peer is in a mesh, to help ensure that other peers will send and receive message to us.
A promise that resolves if all desired protocols are fulfilled by remote nodes, rejects if the timeoutMs is reached.
If passing a protocol that is not mounted
Wait for remote peers with protocols enabled locally and no time out is applied.
Generated using TypeDoc