mirror of https://github.com/nodejs/node.git
4 lines
99 B
JavaScript
4 lines
99 B
JavaScript
|
const { workerData, parentPort } = require('worker_threads');
|
||
|
|
||
|
parentPort.postMessage(workerData);
|