MCPcopy Index your code
hub / github.com/nodejs/node / postMessage

Method postMessage

lib/internal/worker.js:470–474  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

468 }
469
470 postMessage(...args) {
471 if (this[kPublicPort] === null) return;
472
473 ReflectApply(this[kPublicPort].postMessage, this[kPublicPort], args);
474 }
475
476 terminate() {
477 debug(`[${threadId}] terminates Worker with ID ${this.threadId}`);

Callers 15

benchELUSimpleFunction · 0.95
benchELUPassedFunction · 0.95
checkTransferToWorkerFunction · 0.95
roundTripViaWorkerFunction · 0.95
startWorkerFunction · 0.95
testFunction · 0.95
parentFunction · 0.95
testFunction · 0.95
testFunction · 0.95
basicFunction · 0.95
startFunction · 0.95

Calls

no outgoing calls

Tested by 3

testFunction · 0.76
testFunction · 0.76
testFunction · 0.76