Рет қаралды 6,058
In 2019, a new method was added to the Promise object - allSettled.
The method lets us run some code when the results of a collection of Promises have all been determined, regardless of whether or not they were resolved or rejected.
Code from video: gist.github.co...
CanIUse reference: caniuse.com/md...