Support ES7 async/await proposal
See original GitHub issueI’m talking about https://github.com/lukehoban/ecmascript-asyncawait. It’s an accepted proposal for ES7.
Because https://github.com/6to5/6to5 can already compile these, it would be nice to have support for it behind a flag.
I wouldn’t file issues for other ES7 features yet but this one is a game changer. It spoiled me as a C# developer a few years ago and I can’t wait to start using it again.
(Yes I understand this can be done with yield
. Bear with me!)
Issue Analytics
- State:
- Created 9 years ago
- Comments:36 (21 by maintainers)
Top Results From Across the Web
Add ES7 Async/Await Support for your Webapp in 3 Easy Steps
Step by step guide to add async/await in your build flow.
Read more >ES7 async functions - JakeArchibald.com
With async functions (full proposal), you can await on a promise. This halts the function in a non-blocking way, waits for the promise...
Read more >Taming the asynchronous beast with ES7 - PouchDB
ES7 gives us a new kind of function, the async function . Inside of an async function , we have a new keyword,...
Read more >How can I use ES2016/ES7 proposal for async/await in my ...
You need to have a separate entry point that loads the polyfill, and then the main application file. gulpfile.babel-entry.js
Read more >ES7 Async Await in JavaScript - Chris Ng - Svbtle
This is a blog post on the async and await functionality coming to JavaScript. ... actually transpiled again by Babel to backward support...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@MarkHerhold You need to set ecmaVersion to 8 under parserOptions in configuration, or do the equivalent in CLI.
Configuration (JSON):
Via CLI:
@MarkHerhold set your
ecmaVersion
to2017
.