Preparing search index...
The search index is not available
libp2p
libp2p
@libp2p/interface
PeerQueryOrder
Interface PeerQueryOrder
A predicate by which to sort lists of peers
interface
PeerQueryOrder
(
(
a
,
b
)
=>
-1
|
0
|
1
)
Peer
Query
Order
(
a
,
b
)
:
-1
|
0
|
1
Parameters
a
:
Peer
b
:
Peer
Returns
-1
|
0
|
1
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
libp2p
Loading...
A predicate by which to sort lists of peers