Function selectPeerForProtocol

  • Parameters

    • peerStore: PeerStore
    • protocols: string[]
    • Optional peerId: PeerId

    Returns Promise<{
        peer: Peer;
        protocol: string;
    } | undefined>

Generated using TypeDoc