@libp2p/pubsub-peer-discovery
    Preparing search index...

    Interface PubsubPeerDiscoveryInit

    interface PubsubPeerDiscoveryInit {
        interval?: number;
        listenOnly?: boolean;
        topics?: string[];
    }
    Index

    Properties

    interval?: number

    How often (ms) we should broadcast our infos

    listenOnly?: boolean

    If true, we will not broadcast our peer data

    topics?: string[]

    What topics to subscribe to. If set, the default will NOT be used.