mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00

PR-URL: https://github.com/nodejs/node/pull/56469 Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Bryan English <bryan@bryanenglish.com>
3 lines
No EOL
138 B
JavaScript
3 lines
No EOL
138 B
JavaScript
const { isInternalThread, parentPort } = require('node:worker_threads');
|
|
|
|
parentPort.postMessage(`isInternalThread: ${isInternalThread}`); |