Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
xntrk
on Aug 16, 2019
|
parent
|
context
|
favorite
| on:
How to chain multiple functions in JavaScript prop...
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: