- Preparing search index...
- The search index is not available
@waku/root
Properties
Private
dialAttemptsForPeer
dial
Attempts
For
Peer
: Map<string, number> = ...
Private
dialErrorsForPeer
dial
Errors
For
Peer
: Map<string, any> = ...
Private
libp2pComponents
libp2pComponents: Libp2p
Private
onEventHandlers
on
Event
Handlers
: { peer:connect
: ((evt
: CustomEvent<Connection>) => void); peer:disconnect
: (() => ((evt
: CustomEvent<Connection>) => void)); peer:discovery
: ((evt
: CustomEvent<PeerInfo>) => Promise<void>); } = ...
Methods
Private
dialPeer
- dialPeer(peerId: PeerId): Promise<void>
-
Private
getTagNamesForPeer
- getTagNamesForPeer(peerId: PeerId): Promise<string[]>
-
Returns Promise<string[]>
Private
shouldDialPeer
- shouldDialPeer(peerId: PeerId): Promise<boolean>
-
Returns Promise<boolean>
Private
startPeerConnectionListener
- startPeerConnectionListener(): void
-
Returns void
Private
startPeerDisconnectionListener
- startPeerDisconnectionListener(): void
-
Returns void
Private
startPeerDiscoveryListener
- startPeerDiscoveryListener(): void
-
Returns void
stop
- stop(): void
-
Returns void
Fetches the tag names for a given peer