Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 253 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 253 Bytes

Node-Workers-Example

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