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

Use async–await in twinkle? #21

Open
siddharthvp opened this issue Oct 15, 2021 · 0 comments
Open

Use async–await in twinkle? #21

siddharthvp opened this issue Oct 15, 2021 · 0 comments

Comments

@siddharthvp
Copy link
Member

While async-await is I think currently usable in twinkle clients, it is not currently being used in twinkle-core at all. The reason is mainly that the webpack/babel transpile async-await to generators, which are awkward and can be hard to debug.

However, async-await can simplify things quite a bit and make code more readable in many places.

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

No branches or pull requests

1 participant