What is promises in node js?



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

Post New Answer

More Node.js Interview Questions

How we can delete a file in node js?

1 Answers  


What is Node.js? What is it used for?

1 Answers  


How to debug the code using Node.js Built-In debugger?

1 Answers  


What is an event loop?

1 Answers  


Is node js thread safe?

1 Answers  


How do nodes work in a network?

1 Answers  


What types of tasks can be done asynchronously using the event loop?

1 Answers  


What events are supported by readable streams in node.js?

1 Answers  


How do you access the last expression in node.js?

1 Answers  


What is the difference between promise and callback?

1 Answers  


Explain the concept of punycode in node.js?

1 Answers  


Does uber use node.js?

1 Answers  


Categories