- Preparing search index...
- The search index is not available
@waku/root
Properties
Private
pingKeepAliveTimers
ping
Keep
Alive
Timers
: Map<string, Timer>
Private
relayKeepAliveTimers
relay
Keep
Alive
Timers
: Map<PeerId, Timer>
Methods
start
- start(peerId: PeerId, libp2pPing: ((peer: PeerId | Multiaddr, options?: AbortOptions) => Promise<number>)): void
-
Parameters
-
peerId: PeerId
-
libp2pPing: ((peer: PeerId | Multiaddr, options?: AbortOptions) => Promise<number>)
-
- (peer: PeerId | Multiaddr, options?: AbortOptions): Promise<number>
-
Parameters
-
peer: PeerId | Multiaddr
-
Optional
options: AbortOptions
Returns Promise<number>
Returns void
stop
- stop(peerId: PeerId): void
-
Returns void
stopAll
- stopAll(): void
-
Returns void
Pings the given peer in order to obtain the operation latency
Example