Skip to content
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

Support for async functions #90

Open
trusktr opened this issue Jan 5, 2018 · 2 comments · May be fixed by #125
Open

Support for async functions #90

trusktr opened this issue Jan 5, 2018 · 2 comments · May be fixed by #125

Comments

@trusktr
Copy link
Contributor

trusktr commented Jan 5, 2018

It would be useful to transpile async functions, they're a valid part of the language.

See here for previous discussion: https://gitlab.com/Rich-Harris/buble/issues/71

The fast-async package provides a leaner/faster result than regenerator (let's not use regenerator), and I think it can be further optimized because when I convert async functions to Promise-based equivalents manually, they always come out with the leanest result. The new Promise.finally will help with this.

This may require a Promise polyfill to be supplied by the user, and that should be documented.

@trusktr trusktr changed the title Support for async functions. [feature request] Support for async functions. Jan 5, 2018
@IvanSanchez
Copy link
Contributor

See #12

@adrianheine adrianheine changed the title [feature request] Support for async functions. Support for async functions Jan 26, 2018
@shirotech
Copy link
Contributor

See #125 also, hope it gets approved :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants