WakuLightPush | js-waku
Options
All
  • Public
  • Public/Protected
  • All
Menu

Implements the .

Hierarchy

  • WakuLightPush

Index

Constructors

Properties

Accessors

Methods

Constructors

Properties

libp2p: Libp2p
pubSubTopic: string

Accessors

  • get peers(): AsyncIterable<Peer>
  • 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 AsyncIterable<Peer>

  • get randomPeer(): Promise<undefined | 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>

Methods

Generated using