MCPcopy Index your code
hub / github.com/nodejs/node / worker-name.js

File worker-name.js

test/fixtures/worker-name.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const { Session } = require('inspector');
2const { parentPort } = require('worker_threads');
3
4const session = new Session();

Callers

nothing calls this directly

Calls 6

connectToMainThreadMethod · 0.80
requireFunction · 0.50
onceMethod · 0.45
onMethod · 0.45
postMessageMethod · 0.45
postMethod · 0.45

Tested by

no test coverage detected