Message passing abstraction using JAM-codec for serialization (when necessary).
Can be used to communicate between worker threads.
Readonly
Optional thread id.
Destroy the communication channel.
Attach event listener for particular event.
Returns a function that can be called to unsubscribe.
Attach one-time event listener for particular event.
Attach a callback to be triggered when the port is being closed (via error or not).
Post a message to the port that should be received on the other end.
Message passing abstraction using JAM-codec for serialization (when necessary).
Can be used to communicate between worker threads.