What are promises in node.js?
Answer / Abhishek
In Node.js, a Promise represents a value that may not be available yet but will be resolved at some point in the future. Promises help manage asynchronous operations by allowing you to write code that waits for the result without blocking other code.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why is js single threaded?
What is difference between put and patch?
What are the exit codes in node.js? Can you list a few exit codes?
How do you get information of a file using node.js?
Why we use node.js?
For what require() is used in node js?
Which types of network application you can build using node.js?
What are Events and Event Emitters in node.js?
How prevents blocking code in node.js?
How to use aggregation in mongoose?
Is node js asynchronous by default?
Is a promise a callback?