runworkers
v0.0.2
Published
A simple worker thread pool implementation in nodejs using --experimental-worker
Downloads
3
Readme
runworkers
A simple worker thread pool implementation in nodejs using worker_threads
.
Demo
node --experimental-worker run.js "./demoWorker.js" '[{"sleep": 0}, {"sleep": 1}, {"sleep": 2}, {"sleep": 3}, {"sleep": 4}, {"sleep": 5}, {"sleep": 6}, {"sleep": 7}, {"sleep": 8}, {"sleep": 9}]'