Preparing search index...
The search index is not available
@waku/root
@waku/root
@waku/peer-exchange
PeerExchangeDiscovery
Class PeerExchangeDiscovery
Hierarchy
EventEmitter
<
PeerDiscoveryEvents
>
PeerExchangeDiscovery
Implements
PeerDiscovery
Index
Constructors
constructor
Properties
components
is
Started
options
peer
Exchange
query
Attempts
querying
Peers
Accessors
[symbol]
[to
String
Tag]
Methods
abort
Queries
For
Peer
event
Handler
query
start
start
Recurring
Queries
stop
Constructors
constructor
new
Peer
Exchange
Discovery
(
components
:
PeerExchangeComponents
, options
?:
Options
)
:
PeerExchangeDiscovery
Parameters
components:
PeerExchangeComponents
options:
Options
= {}
Returns
PeerExchangeDiscovery
Properties
Private
Readonly
components
components
:
PeerExchangeComponents
Private
is
Started
is
Started
:
boolean
Private
Readonly
options
options
:
Options
Private
Readonly
peer
Exchange
peer
Exchange
:
WakuPeerExchange
Private
query
Attempts
query
Attempts
:
Map
<
string
,
number
>
= ...
Private
querying
Peers
querying
Peers
:
Set
<
string
>
= ...
Accessors
[symbol]
get
[symbol]
(
)
:
true
Returns
true
[to
String
Tag]
get
[toStringTag]
(
)
:
string
Returns
string
Methods
Private
abort
Queries
For
Peer
abort
Queries
For
Peer
(
peerIdStr
:
string
)
:
void
Parameters
peerIdStr:
string
Returns
void
Private
Readonly
event
Handler
event
Handler
(
event
:
CustomEvent
<
PeerProtocolsChangeData
>
)
:
Promise
<
void
>
Parameters
event:
CustomEvent
<
PeerProtocolsChangeData
>
Returns
Promise
<
void
>
Private
query
query
(
peerId
:
PeerId
)
:
Promise
<
void
>
Parameters
peerId:
PeerId
Returns
Promise
<
void
>
start
start
(
)
:
void
Start emitting events
Returns
void
Private
Readonly
start
Recurring
Queries
start
Recurring
Queries
(
peerId
:
PeerId
)
:
Promise
<
void
>
Parameters
peerId:
PeerId
Returns
Promise
<
void
>
stop
stop
(
)
:
void
Remove event listener
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
Modules
@waku/root
@waku/core
<internal>
message
version_
0
proto
Rate
Limit
Proof
Waku
Message
waku
waku_
filter_
v1
waku_
filter_
v2
waku_
light_
push
Push
Response
waku_
store
@waku/create
<internal>
@waku/dns-
discovery
<internal>
@waku/enr
<internal>
@waku/interfaces
<internal>
@waku/message-
encryption
<internal>
Rate
Limit
Proof
Waku
Message
ecies
symmetric
@waku/message-
hash
<internal>
@waku/peer-
exchange
<internal>
@waku/proto
Waku
Message
proto_
filter
Filter
Request
Content
Filter
Filter
Rpc
Message
Push
Rate
Limit
Proof
proto_
filter_
v2
Filter
Subscribe
Request
Filter
Subscribe
Type
Filter
Subscribe
Response
Message
Push
Rate
Limit
Proof
Waku
Message
proto_
lightpush
Push
Request
Push
Response
Push
Rpc
Rate
Limit
Proof
Waku
Message
proto_
message
Rate
Limit
Proof
Waku
Message
proto_
peer_
exchange
Peer
Exchange
Query
Peer
ExchangeRPC
Peer
Exchange
Response
Peer
Info
proto_
store
Content
Filter
History
Query
History
Response
History
Error
History
Rpc
Index
Paging
Info
Direction
Rate
Limit
Proof
Waku
Message
proto_
topic_
only_
message
Topic
Only
Message
@waku/relay
<internal>
@waku/utils
<internal>
Peer
Exchange
Discovery
constructor
components
is
Started
options
peer
Exchange
query
Attempts
querying
Peers
[symbol]
[to
String
Tag]
abort
Queries
For
Peer
event
Handler
query
start
start
Recurring
Queries
stop
Generated using
TypeDoc
Start emitting events