Lines Matching refs:MessagePort
169 * `port` {MessagePort} The message port to transfer.
174 * Returns: {MessagePort}
176 Transfer a `MessagePort` to a different [`vm`][] Context. The original `port`
177 object is rendered unusable, and the returned `MessagePort` instance
180 The returned `MessagePort` is an object in the target context and
185 However, the created `MessagePort` no longer inherits from
195 * {null|MessagePort}
197 If this thread is a [`Worker`][], this is a [`MessagePort`][]
231 * `port` {MessagePort|BroadcastChannel}
235 Receive a single message from a given `MessagePort`. If no message is available,
238 `MessagePort`'s queue.
462 [`MessagePort`][] instances.
473 ## Class: `MessagePort`
487 Instances of the `worker.MessagePort` class represent one end of an
489 structured data, memory regions and other `MessagePort`s between different
492 This implementation matches [browser `MessagePort`][]s.
557 `MessagePort`.
559 The [`'close'` event][] is emitted on both `MessagePort` instances that
615 * {MessagePort}s,
632 `transferList` may be a list of [`ArrayBuffer`][], [`MessagePort`][], and
776 If true, the `MessagePort` object will keep the Node.js event loop active.
798 Starts receiving messages on this `MessagePort`. When using this port
802 This method exists for parity with the Web `MessagePort` API. In Node.js,
861 a built-in pair of [`MessagePort`][]s that are already associated with each
862 other when the `Worker` is created. While the `MessagePort` object on the parent
870 `MessagePort`s on that `MessageChannel` to the other thread through a
880 Worker, MessageChannel, MessagePort, isMainThread, parentPort,
891 assert(value.hereIsYourPort instanceof MessagePort);
986 * `transferList` {Object\[]} If one or more `MessagePort`-like objects
1283 `Worker`s utilize message passing via {MessagePort} to implement interactions
1351 [`MessagePort`]: #class-messageport
1365 [`port.onmessage()`]: https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/onmessage
1391 [browser `MessagePort`]: https://developer.mozilla.org/en-US/docs/Web/API/MessagePort