Re:A Modern JavaScript Tutorial
by wa1987 on Monday December 07, 2020 @01:44PM
(#25335492)
Often times operations are order-independent. Specifying those as sequential `await`-s does not make a lot of sense in those situations. I guess less fine grained control is desirable under such circumstances :-)
There's also other useful utilities such as Promise.all(), Promise.any() and Promise.race().
There's also other useful utilities such as Promise.all(), Promise.any() and Promise.race().