mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
0dbc8c8198
PR-URL: https://github.com/nodejs/node/pull/22928 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
6 lines
145 B
JavaScript
6 lines
145 B
JavaScript
'use strict';
|
|
const { Worker } = require('worker_threads');
|
|
const path = require('path');
|
|
|
|
new Worker(path.resolve(__dirname, 'subprocess.js'));
|