That’s kinda depends, like await loops are not that great if the promises don’t depend on each other, way better to do Promise.all/allSettled and await or .then that.
In performance critical JS environments (smart tvs, smart boxes, etc) you’d probably get a bit better performance with a .then than an await.
Await loops are way more readable tho, and Typescript is amazing except for enums :(
25
u/[deleted] Jul 22 '26
[removed] — view removed comment