Explained about* What is Promise* How to create Promise* How to consume Promise* What is Then handler* How to pass function to then handler* Chaining promise...
Time Line: 00:00 Analogy to explain Promise with real time 01:35 Create Promise 05:27:Consuming Promise 11:05 Attach Handler to then method 12:16 Promisifying or chaining Promises
What are promises and what is the difference between Promise.all, Promise.allSettled, Promise.race and Promise.any?
Promise.allSetlled() is recently introduced in ECMA 2020. Check out how it is different from Promise.all().What is the difference between Promise.all() and Promise.allSetlled() ?