Example how to use worker in Node.js with rotating ports
I used this to send a chunked for-loop to the workers. With the port rotation it's easier to keep track of the results comming back from the worker.
start with: npm start
| Name | Name | Last commit date | ||
|---|---|---|---|---|