new PeerParty()
Parameters:
Name | Type | Description |
---|---|---|
options.comms | module:Comms. | |
options.hostParty | boolean | Is this instance the host of the peer connection? |
options.hostRunner | module:Service. | |
options.qbOptions.debounce | Integer | Amount of milliseconds to wait before sending a query. More than one query can be sent to the server in a single exchange. This defaults to 10ms. |
options.qbOptions.find_dedup | boolean | Set if duplicate queries should be merged into a single network request. Defaults to |
options.qbOptions.timeout | Integer | Time in milliseconds before a query is considered timedout. Defaults to 10seconds |
- Source