ApiCoreFunctions
Function: shouldInitiate()
function shouldInitiate(us, them): boolean;Defined in: packages/core/src/network/introductions.ts:68
Which side offers when two peers learn of each other at once, so they never make two half-open connections
Parameters
| Parameter | Type |
|---|---|
us | string |
them | string |
Returns
boolean