What is promises in node js?
Answer / Satish Kumar Verma
Promises in Node.js are objects that represent the eventual completion or failure of an asynchronous operation and its resulting value. Promises provide a way to handle asynchronous operations in a more organized and error-handling manner.
| Is This Answer Correct ? | 0 Yes | 0 No |
How we can delete a file in node js?
What is Node.js? What is it used for?
How to debug the code using Node.js Built-In debugger?
What is an event loop?
Is node js thread safe?
How do nodes work in a network?
What types of tasks can be done asynchronously using the event loop?
What events are supported by readable streams in node.js?
How do you access the last expression in node.js?
What is the difference between promise and callback?
Explain the concept of punycode in node.js?
Does uber use node.js?