Party. PeerParty

new PeerParty()

Parameters:
NameTypeDescription
options.commsmodule:Comms.ISocketComms
options.hostPartyboolean

Is this instance the host of the peer connection?

options.hostRunnermodule:Service.HostRunner
options.qbOptions.debounceInteger

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_dedupboolean

Set if duplicate queries should be merged into a single network request. Defaults to true

options.qbOptions.timeoutInteger

Time in milliseconds before a query is considered timedout. Defaults to 10seconds

Extends