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

new proposal: await.ops implemented by custom parser #68

Open
JounQin opened this issue Aug 27, 2020 · 7 comments
Open

new proposal: await.ops implemented by custom parser #68

JounQin opened this issue Aug 27, 2020 · 7 comments

Comments

@JounQin
Copy link

JounQin commented Aug 27, 2020

await.ops proposal

implementation: JounQin/babel-plugin-proposal-await-ops@4cc44f8

Shall I post a PR to babel repo or this repo first?

@JLHwung
Copy link

JLHwung commented Aug 27, 2020

Yes! PR to the Babel repo is welcome!

@nicolo-ribaudo
Copy link
Member

(cc @Jack-Works)

@Jack-Works
Copy link

Happy to see this! But the proposal is likely going to change to modify the syntax on the for...of statement instead of await syntax. It also possible to only have the equivalent of await.all in the future.

@nicolo-ribaudo
Copy link
Member

If it's going to change that much, we could add a mandatory version: "jul-2020" (the last meeting where it was presented) option, so that we can add a new version in the future.

If you prefer not to have this plugin for know, we can wait implementing it, but we are already using the version option for other unstable proposals.

@JLHwung
Copy link

JLHwung commented Aug 28, 2020

@nicolo-ribaudo I suggest we wait for a while if the proposal is likely to be renamed in the future. For example it may be renamed as await-all if only await.all is supported. In that case we are in a middle ground to face decision whether we should rename @babel/proposal-await-ops to @babel/proposal-await-all.

This is not unprecedented: module-attributes => import-attributes => import-conditions => import-assertions and still TBD. 😄

@Holybasil
Copy link

👀

@Jack-Works
Copy link

This proposal currently lacks motivation strong enough to move forward. Don't hope too much of progression.

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

5 participants