division
division copied to clipboard
The Communication between master and worker is not working.
The broadcast by the master works but there is no place for us to add a
process.on('message', function(msg){});
for a worker.
If I understand it correctly, this should be added in your app.js
file.
Can you give a better example, please? Ideally with run.js
and app.js
file (file where you configure division
and file which is started by it).