-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
async/await support #130
Comments
Works fine for me using |
Babel as well, do you have an example where I can see it working? Mine is public Here is the babel setup: I also tried using 'asyncToGenerator' instead of bluebird, different error but also breaks... |
Just tried again, this works as intended:
this:
gives me error:
my babel settings:
versions:
What am I doing wrong? How were you able to get it to work? |
It would be great to have (experimental) support for async functions through promises as well. |
I'd like this as well 👍 |
👍 |
I am switching all my projects from ES6 generators to ES7 async functions... So, a big 👍 for me too! |
👍 This functionality would get me to move all of my projects to koa as soon as it is available. Would be a fantastic feature. |
👍 really need this feature |
👍 Would be awesome. |
👍 |
Hi everyone, So as I understand this commit is for the experimetal option on koa master branch? not for the new signature proposal with ctx on params? |
The experimental option. |
I enabled async/await per this conversation koajs/koa#415
Everything's working, except when I get this module involved and switch my functions from generator to async, I start getting
undefined is not a function
coming out of this module, I suspect it's not async/await compliant?The text was updated successfully, but these errors were encountered: