Indicates if a connection has been established
Close the port being used to communicate. It will prevent any further messages being sent or received.
This method will emit an event to its counterpart.
The name of the event to emit.
Payload to be sent with the event.
Returns Connection instance.
Bind a callback to an event.
The name of the event to listen for.
The function to call when the event is fired.
Returns Connection instance.
Make a request of the counterpart. It will automatically reject the promise if the timeout time is exceeded.
The name of the event to emit
Payload to be sent with the request
A promise that can resolve with any payload
Generated using TypeDoc
The child side of a connection.