Hierarchy

  • EventEmitter<PeerDiscoveryEvents>
    • PeerExchangeDiscovery

Implements

  • PeerDiscovery

Constructors

Properties

#private: any
intervals: Map<PeerId, Timeout> = ...
isStarted: boolean
options: Options
peerExchange: WakuPeerExchange

Accessors

Methods

  • Type Parameters

    • K extends "peer"

    Parameters

    • type: K
    • listener: null | EventHandler<PeerDiscoveryEvents[K]>
    • Optional options: boolean | AddEventListenerOptions

    Returns void

  • Parameters

    • event: Event

    Returns boolean

  • Parameters

    • type: string

    Returns number

  • Type Parameters

    • K extends "peer"

    Parameters

    • type: K
    • Optional listener: null | EventHandler<PeerDiscoveryEvents[K]>
    • Optional options: boolean | EventListenerOptions

    Returns void

Generated using TypeDoc