Preparing search index...
The search index is not available
Documentation
Documentation
@libp2p/interface-peer-store
PeerQueryOrder
Interface PeerQueryOrder
Hierarchy
PeerQueryOrder
Peer
Query
Order
(
a
:
Peer
, b
:
Peer
)
:
0
|
1
|
-1
A predicate by which to sort lists of peers
Parameters
a:
Peer
b:
Peer
Returns
0
|
1
|
-1
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Documentation
@libp2p/interface-
address-
manager -
v3.0.1
@libp2p/interface-
compliance-
tests -
v3.0.7
@libp2p/interface-
connection -
v5.1.1
<internal>
@libp2p/interface-
connection-
compliance-
tests -
v2.0.9
<internal>
@libp2p/interface-
connection-
encrypter -
v4.0.1
<internal>
@libp2p/interface-
connection-
encrypter-
compliance-
tests -
v5.0.1
<internal>
@libp2p/interface-
connection-
gater -
v3.0.1
<internal>
@libp2p/interface-
connection-
manager -
v3.0.1
<internal>
@libp2p/interface-
content-
routing -
v2.1.1
<internal>
@libp2p/interface-
dht -
v2.0.3
<internal>
@libp2p/interface-
keychain -
v2.0.5
<internal>
@libp2p/interface-
keys -
v1.0.8
@libp2p/interface-
libp2p -
v3.2.0
<internal>
@libp2p/interface-
metrics -
v4.0.8
<internal>
@libp2p/interface-
mocks -
v12.0.1
<internal>
@libp2p/interface-
peer-
discovery -
v2.0.0
<internal>
@libp2p/interface-
peer-
discovery-
compliance-
tests -
v2.0.8
<internal>
@libp2p/interface-
peer-
id -
v2.0.2
<internal>
@libp2p/interface-
peer-
info -
v1.0.10
<internal>
@libp2p/interface-
peer-
routing -
v1.1.1
<internal>
@libp2p/interface-
peer-
store -
v2.0.4
<internal>
@libp2p/interface-
pubsub -
v4.0.1
<internal>
@libp2p/interface-
pubsub-
compliance-
tests -
v5.0.7
<internal>
@libp2p/interface-
record -
v2.0.7
<internal>
@libp2p/interface-
record-
compliance-
tests -
v2.0.5
<internal>
@libp2p/interface-
registrar -
v2.0.12
<internal>
@libp2p/interface-
stream-
muxer -
v4.1.2
<internal>
@libp2p/interface-
stream-
muxer-
compliance-
tests -
v7.0.3
<internal>
@libp2p/interface-
transport -
v4.0.3
<internal>
@libp2p/interface-
transport-
compliance-
tests -
v4.0.2
<internal>
@libp2p/interfaces -
v3.3.2
Address
Peer
Peer
Data
Peer
Query
Peer
Query
Filter
Peer
Query
Order
Peer
Store
Tag
Tag
Options
A predicate by which to sort lists of peers