Hierarchy

  • WakuLightPush

Constructors

Properties

Methods

Constructors

Properties

libp2p: Libp2p
pubSubTopic: string

Methods

  • Returns known peers from the address book (libp2p.peerStore) that support light push protocol. Waku may or may not be currently connected to these peers.

    Returns Promise<Peer[]>

  • Returns a random peer that supports light push protocol from the address book (libp2p.peerStore). Waku may or may not be currently connected to this peer.

    Returns Promise<undefined | Peer>

Generated using TypeDoc