Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think you’re trying to recreate the semantics of Promise.all without using Promise.all.

You’re effectively saying that Promises are a better async programming paradigm than async/await…which is also what the author is saying in the article.



I'm not saying anything about promises vs async/await. The original comment said that you can't have 2 async things happen in parallel without Promise.all, my code snippet proves that you can.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: