What is promise-all in node.js?



What is promise-all in node.js?..

Answer / Kanchan Singh

Promise.all() is a utility function in Node.js that returns a single Promise that resolves when all of the promises in an array have resolved, or rejects with the reason of the first rejected promise.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Node.js Interview Questions

What is an event loop in node?

1 Answers  


How can plain html be rendered in express js?

1 Answers  


What does mern stack?

1 Answers  


What is the purpose of module.exports in Node.js?

1 Answers  


What are the advantages of template engines?

1 Answers  


What are the important events of net.Socket in Node.js?

1 Answers  


What does event-driven programming mean?

1 Answers  


Is node js worth learning?

1 Answers  


Give an example of writable stream in node.js?

1 Answers  


How to debug the Node.js code using Node Inspector?

1 Answers  


How to call multiple promises?

1 Answers  


How to truncate the file in Node.JS?

1 Answers  


Categories