Hacker News new | ask | show | jobs
by saagarjha 1031 days ago
Things don’t have to be that way. You can reject the use of async/await in contexts that aren’t aware of it (delegating it to special APIs that properly handle it).
1 comments

Can you elaborate? Do you mean like the Promise API with the "spesialisti APIs"?
You could have a forEach that awaits the promise created each iteration, for example.