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

Опубликовано: 24 Октябрь 2021
на канале: 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


Смотрите видео Promise.all and its own implementation/Polyfill. Asked in Amazon|Microsoft онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь TechStorming 24 Октябрь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,54 раз и оно понравилось 11 людям.