/third_party/node/test/parallel/ |
H A D | test-worker-workerdata-messageport.js | 7 Worker, MessageChannel 10 const channel = new MessageChannel(); 22 const channel1 = new MessageChannel(); 23 const channel2 = new MessageChannel(); 49 const channel1 = new MessageChannel(); 50 const channel2 = new MessageChannel();
|
H A D | test-worker-message-port.js | 5 const { MessageChannel, MessagePort } = require('worker_threads'); 8 const { port1, port2 } = new MessageChannel(); 21 const { port2 } = new MessageChannel(); 32 const { port1, port2 } = new MessageChannel(); 49 const { port1, port2 } = new MessageChannel(); 64 const { port1, port2 } = new MessageChannel(); 86 const { port1, port2 } = new MessageChannel(); 131 const { port1, port2 } = new MessageChannel(); 167 const c1 = new MessageChannel(); 168 const c2 = new MessageChannel(); [all...] |
H A D | test-worker-message-port-close.js | 4 const { MessageChannel, moveMessagePortToContext } = require('worker_threads'); 13 const { port1, port2 } = new MessageChannel(); 27 const { port1 } = new MessageChannel(); 35 const { port2 } = new MessageChannel(); 45 const ch = new MessageChannel();
|
H A D | test-whatwg-webstreams-transfer.js | 45 const { port1, port2 } = new MessageChannel(); 116 const { port1, port2 } = new MessageChannel(); 166 const { port1, port2 } = new MessageChannel(); 217 const { port1, port2 } = new MessageChannel(); 304 const { port1, port2 } = new MessageChannel(); 341 const { port1, port2 } = new MessageChannel(); 382 const { port1, port2 } = new MessageChannel(); 410 const { port1, port2 } = new MessageChannel(); 488 const { port1, port2 } = new MessageChannel(); 510 const { port1, port2 } = new MessageChannel(); [all...] |
H A D | test-abortsignal-cloneable.js | 20 const mc = new MessageChannel(); 65 const mc = new MessageChannel(); 79 const mc = new MessageChannel();
|
H A D | test-crypto-key-objects-messageport.js | 10 MessageChannel, 49 const { port1, port2 } = new MessageChannel(); 71 const { port1, port2 } = new MessageChannel();
|
H A D | test-worker-message-port-transfer-fake-js-transferable.js | 5 const { MessageChannel } = require('worker_threads'); 29 const { port1, port2 } = new MessageChannel();
|
H A D | test-worker-message-port-receive-message.js | 4 const { MessageChannel, receiveMessageOnPort } = require('worker_threads'); 6 const { port1, port2 } = new MessageChannel();
|
H A D | test-worker-message-port-transfer-closed.js | 5 const { MessageChannel } = require('worker_threads'); 10 const { port1, port2 } = new MessageChannel();
|
H A D | test-whatwg-encoding-custom-textdecoder.js | 230 new MessageChannel().port1.postMessage(buffer, [buffer]); // buffer is detached
|
H A D | test-blob.js | 161 const mc = new MessageChannel();
|
H A D | test-crypto-x509.js | 247 // X509Certificate can be cloned via MessageChannel/MessagePort 248 const mc = new MessageChannel();
|
/third_party/node/test/fixtures/wpt/streams/transferable/ |
H A D | transfer-with-messageport.window.js | 40 const channel = new MessageChannel(); 49 const channel = new MessageChannel(); 58 const channel = new MessageChannel(); 67 const channel = new MessageChannel(); 76 const channel = new MessageChannel(); 85 const channel = new MessageChannel(); 94 const channel = new MessageChannel(); 116 const channel = new MessageChannel(); 134 const channel = new MessageChannel(); 146 const channel = new MessageChannel(); [all...] |
/third_party/node/lib/internal/modules/esm/ |
H A D | hooks.js | 211 const { MessageChannel } = require('internal/worker/io'); 212 const channel = new MessageChannel(); 535 * there is only 1 MessageChannel. 537 let MessageChannel; 567 MessageChannel ??= require('internal/worker/io').MessageChannel; 611 MessageChannel ??= require('internal/worker/io').MessageChannel; 612 const asyncCommChannel = new MessageChannel();
|
/third_party/node/lib/internal/ |
H A D | structured_clone.js | 8 MessageChannel, 19 // instantiating a MessageChannel 20 channel ??= new MessageChannel();
|
H A D | worker.js | 48 MessageChannel, 247 const { port1, port2 } = new MessageChannel();
|
H A D | abort_controller.js | 70 // Loading the MessageChannel and makeTransferable have to be done lazily 75 _MessageChannel ??= require('internal/worker/io').MessageChannel;
|
/third_party/node/lib/ |
H A D | worker_threads.js | 15 MessageChannel, 28 MessageChannel,
|
/third_party/node/benchmark/worker/ |
H A D | messageport.js | 4 const { MessageChannel } = require('worker_threads'); 26 const { port1, port2 } = new MessageChannel();
|
/third_party/node/test/sequential/ |
H A D | test-worker-eventlooputil.js | 8 MessageChannel, 57 metricsCh = new MessageChannel();
|
/third_party/node/test/fixtures/wpt/FileAPI/blob/ |
H A D | Blob-constructor.any.js | 318 var channel = new MessageChannel(); 324 var channel2 = new MessageChannel();
|
/third_party/node/lib/internal/worker/ |
H A D | io.js | 35 MessageChannel, 548 MessageChannel,
|
/third_party/node/src/ |
H A D | node_messaging.cc | 1440 static void MessageChannel(const FunctionCallbackInfo<Value>& args) { in MessageChannel() function 1488 "MessageChannel", in InitMessaging() 1489 NewFunctionTemplate(isolate, MessageChannel)); in InitMessaging() 1535 registry->Register(MessageChannel); in RegisterExternalReferences()
|
/third_party/node/test/fixtures/wpt/resources/ |
H A D | testharness.js | 3851 var chan = new MessageChannel();
|
/third_party/node/deps/undici/ |
H A D | undici.js | 906 var { MessageChannel, receiveMessageOnPort } = require("worker_threads"); 1066 channel = new MessageChannel();
|