port2 property

MessagePort get port2

The port2 read-only property of the MessageChannel interface returns the second port of the message channel — the port attached to the context at the other end of the channel, which the message is initially sent to.

Implementation

external MessagePort get port2;