An event which fires when this port has closed
An error which fires when an error occurs.
The message port used to post and receive messages.
A map from topic to message handler.
If true, don't raise an error when receiving a message for an unknown topic
An event which fires when a connection has been established to the other SessionPort.
Describes the configuration of the connected session.
The version of argon.js which is used by the connecting session. This property is an empty array until the session connects.
Close the connection to the remote session.
Establish a connection to another SessionPort via the provided [[MessagePort]] instance.
the message port to post and receive messages.
the configuration which describes this ArgonSystem.
Send a request and return a promise for the result.
the message topic.
the message to be sent.
if the session is not opened or is closed, return a rejected promise, Otherwise, the returned promise is resolved or rejected based on the response.
Send a message
the message topic.
the message to be sent.
Return true if the message is posted successfully, return false if the session is closed.
Send an error message.
Return true if the error message is sent successfully, otherwise, return false.
Check if a protocol is supported by this session.
Generated using TypeDoc
Provides two-way communication between two SessionPort instances.