How to stop master process without suspending all of its child processes?
Answer / Dharmendra Singh Shishodia
To stop the master process without suspending its child processes in Node.js, you can use the `process.exit()` method or the `cluster.Worker.disconnect()` method.
| Is This Answer Correct ? | 0 Yes | 0 No |
How can plain html be rendered in express js?
How to use node js in javascript?
What is the passport in Node.js?
What is the request object in nodejs?
What are “Streams” in Node.JS?
What are lts releases of node.js?
Explain exit codes in Node.JS? List out some exit codes?
How to stop master process without suspending all of its child processes?
What is a reactor pattern in node.js?
What does emitter do and what is dispatcher?
How to create an Http Server using Node.js?
Explain the usage of a buffer class in node.js?