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

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.