- Preparing search index...
- The search index is not available
polykey
Function nodeDistanceCmpFactory
- nodeDistanceCmpFactory(targetNodeId): ((nodeId1, nodeId2) => 0 | 1 | -1)
-
Returns ((nodeId1, nodeId2) => 0 | 1 | -1)
-
- (nodeId1, nodeId2): 0 | 1 | -1
-
Returns 0 | 1 | -1