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

preview_player
Показать описание
It is typically used when you have multiple asynchronous tasks that are not dependent on one another to complete successfully, or you'd always like to know the result of each promise.

00:00 introduction
Рекомендации по теме
Комментарии
Автор

Great content. Highly useful for cracking the good interviews

amitbisht
Автор

Don;t you think by using Promise.resolve(promise) to handle normal values, we are not allowing the particular promise to get rejected, since we are instructing it to resolve always. Btw thanks for a great video!

priyeshjammula
Автор

Great video!
Can you show how to do it without promise all?

Orenrs
Автор

Great!! someone asked me to do it without using promise.all in the last. canwe do ?

adeshgangwar