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

My understanding was that each await would "block" (creates a new function in a then block that will get execed once the promise resolves). if you wanted to run the two in parallel you would have to Promise.all([promise1, promise2]).then(fn)


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

Search: