Returns Operator instance
Connect method will create and return a Connection instance. The connection will be placed under the management of the Operator until close is called.
Used for specifying an iframe for a ServerConnection, if not provided it will create a ClientConnection
Optional param for overriding the default options of type [[Options]]
Either a ServerConnection or ClientConnection
This method will emit an event on all the managed connections.
The name of the event to emit.
Payload to be sent with the event.
Returns Operator instance.
This method will make a request on all the managed connections. It returns an array containing all the promises it is then up to you manage their completion.
The name of the event to emit.
Payload to be sent with the event.
An array of promises which can contain any payload
This method will make a request on all the managed connections. It returns a promise and will resolve or reject after all the connections's promises have successfully fulfilled or after a single error is thrown.
The name of the event to emit.
Payload to be sent with the event.
A promise which can contain any payload
This method will make a request on all the managed connections. It returns a promise and will resolve or reject on the first connection to make a response.
The name of the event to emit.
Payload to be sent with the event.
A promise which can contain any payload
Generated using TypeDoc
This method will close the port used by the connection and remove it from the list of managed connections. This will prevent group emit or group requests from being triggered on the connection.