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

Function createChildren

test/parallel/test-worker-messaging.js:33–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31}
32
33async function createChildren() {
34 const worker = new Worker(__filename, { workerData: { mainThread, level: level + 1 } });
35 await once(worker, 'message');
36}
37
38async function ping() {
39 let target;

Callers 1

testFunction · 0.70

Calls 1

onceFunction · 0.70

Tested by 1

testFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…