Preparing search index...
The search index is not available
Documentation
Documentation
@libp2p/interface-libp2p
AddressSorter
Interface AddressSorter
Hierarchy
AddressSorter
Address
Sorter
(
a
:
Address
, b
:
Address
)
:
0
|
1
|
-1
Used by the connection manager to sort addresses into order before dialling
Parameters
a:
Address
b:
Address
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
Sorter
Identify
Result
Libp2p
Libp2p
Events
Peer
Update
Pending
Dial
Signed
Peer
Record
Pending
Dial
Status
Service
Map
Used by the connection manager to sort addresses into order before dialling