Preparing search index...
The search index is not available
libp2p
libp2p
@libp2p/interface
AddressSorter
Interface AddressSorter
Used by the connection manager to sort addresses into order before dialling
interface
AddressSorter
(
(
a
,
b
)
=>
-1
|
0
|
1
)
Address
Sorter
(
a
,
b
)
:
-1
|
0
|
1
Parameters
a
:
Address
b
:
Address
Returns
-1
|
0
|
1
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
libp2p
Loading...
Used by the connection manager to sort addresses into order before dialling