The Promise.allSettled() method returns a promise that resolves after all of the given promises have either resolved or rejected, with an array of objects that each describes the outcome of each promise
Promise.allSettled returns a promise that is fulfilled with an array of promise state snapshots, but only after all the original promises have settled, i.e. become either fulfilled or rejected.
Supported browsers
chrome v76
firefox v71
safari v13
----
Follow Me Online Here:
Twitter: / shrideepghag
GitHub: https://github.com/Shrideep
LinkedIn: / shrideep-ghag-4a665251
Instagram: / shrideep.ghag
Смотрите видео Promise allsettled . Javascript 2020 new features онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Shrideep ghag 10 Февраль 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 280 раз и оно понравилось 6 людям.