Asynchronous stack traces: why `await` beats `.then()` https://mathiasbynens.be/notes/async-stack-traces …
async/await is more than just syntax sugar over promises!
-
-
So to say async > promises only if return value is not needed. Thank you!
-
Huh? That does not follow. Also, the optimization in the article only applies to stack traces.
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.