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

File test-worker-onmessage.js

test/parallel/test-worker-onmessage.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1'use strict';
2const common = require('../common');
3const assert = require('assert');
4const { Worker, parentPort } = require('worker_threads');

Callers

nothing calls this directly

Calls 5

requireFunction · 0.50
onMethod · 0.45
pushMethod · 0.45
terminateMethod · 0.45
postMessageMethod · 0.45

Tested by

no test coverage detected