MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/ux0kux/pick_one_or_more/i9uzl0m/
r/ProgrammerHumor • u/Mindless-Hedgehog460 • May 24 '22
267 comments sorted by
View all comments
Show parent comment
10
In a JS runtime, async/await is the modern approach to handling promises, and conceptually allows you to think of them as synchronously executed in many cases
3 u/TheRealFloomby May 25 '22 Promise.all is incredibly helpful in certain instances. 2 u/_t_dang_ May 25 '22 True! It’s worth clarifying that async/await isn’t the optimal solution every time, just another useful tool for certain scenarios
3
Promise.all is incredibly helpful in certain instances.
2 u/_t_dang_ May 25 '22 True! It’s worth clarifying that async/await isn’t the optimal solution every time, just another useful tool for certain scenarios
2
True! It’s worth clarifying that async/await isn’t the optimal solution every time, just another useful tool for certain scenarios
View all comments
Show parent comment
10
u/_t_dang_ May 24 '22
In a JS runtime, async/await is the modern approach to handling promises, and conceptually allows you to think of them as synchronously executed in many cases