What is the use of method – 'fork()'?
Answer / Chandrapal Singh
The `fork()` method in Node.js is used to create a new child process that runs the same JavaScript file as its parent. It's often used for running long-running tasks without blocking the main event loop, allowing the application to remain responsive.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain 'Net' module in Node.JS?
What Is Package.json?
Explain web server?
What is the difference between angular and node.js?
What do you mean by the term i/o in node.js?
For node.js, why google uses v8 engine?
How node.js works?
Give an example of readable stream with non-flowing mode in node.js?
Which template engine is supported by express js?
Explain the difference between const and let in node js?
Is there any system configration needed to install node js?
What do you understand by middleware? How can you use middleware in node js?