One end of a two-way communication channel created by MessageChannel.
Also available via worker_threads (see section 5); this is the web global form.
See also:
Variables
Methods
postMessage(message:Any, ?transfer:Array<MessagePortTransferable>):Void
Posts a message through the channel. transfer is a list of transferable objects
to transfer ownership of (ArrayBuffer, MessagePort, AbortSignal, or web streams).