node-multithreading
Provide an easy implementation of multithreading in node
Installation
$ npm install node-multithreading --save
Setup
;
Example
;;;
Note
-
The server must be running on port 0, so the master server can communicate with the slaves.
server; -
You must return the server, otherwise the master won't be able to proxy to the children.
return server;