Promise.all and its own implementation/Polyfill. Asked in Amazon|Microsoft

Published: 24 October 2021
on channel: TechStorming
3,540
118

This covers polyfill/own implementation of the Promise.all in Javascript. This is very popular among the interviewer in UI technologies.

The Promise.all() method takes an iterable of promises as an input and returns a single Promise that resolves to an array of the results of the input promises. This returned promise will resolve when all of the input's promises have been resolved, or if the input iterable contains no promises. It rejects immediately upon any of the input promises rejecting or non-promises throwing an error and will reject with this first rejection message/error.


Linkedin:   / manish-mohan-profile  
GitHub code Link: https://github.com/mohanmanis/tutorials


00:00 introduction
00:25 Definition of Promise.all
02:16 Example of Promise.all
09:00 Polyfill of Promise.all


Watch video Promise.all and its own implementation/Polyfill. Asked in Amazon|Microsoft online without registration, duration hours minute second in high quality. This video was added by user TechStorming 24 October 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,54 once and liked it 11 people.