Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
depr
on Oct 24, 2016
|
parent
|
context
|
favorite
| on:
Overview of JavaScript ES6 features
The function passed to the promise is executed synchronously, the call to `then` is always asynchronous.
epmatsw
on Oct 24, 2016
[–]
True, worded that poorly. The resolutions are always executed asynchronously, versus a callback approach where the code receiving the callback can inappropriately and unexpectedly choose to execute the callback synchronously.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: