Home
last modified time | relevance | path

Searched refs:metricsCh (Results 1 – 1 of 1) sorted by relevance

/third_party/node/test/sequential/
Dtest-worker-eventlooputil.js21 assert.ok(msg.metricsCh instanceof MessagePort);
22 msg.metricsCh.on('message', mustCallAtLeast(workerOnMetricsMsg, 1));
45 let metricsCh; variable
57 metricsCh = new MessageChannel();
58 worker.postMessage({ metricsCh: metricsCh.port1 }, [ metricsCh.port1 ]); property
61 metricsCh.port2.once('message', mustCall(checkWorkerIdle));
62 metricsCh.port2.postMessage({ cmd: 'elu' });
99 metricsCh.port2.postMessage({ cmd: 'spin', dur: 50 });
100 metricsCh.port2.once('message', (wElu) => {
108 metricsCh.port2.postMessage({ cmd: 'close' });