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 top-level-await #3889

Closed
Tracked by #4327
hanyaxxx opened this issue Aug 3, 2023 · 0 comments · Fixed by #4345
Closed
Tracked by #4327

support top-level-await #3889

hanyaxxx opened this issue Aug 3, 2023 · 0 comments · Fixed by #4345
Assignees
Labels
feat New feature or request

Comments

@hanyaxxx
Copy link

hanyaxxx commented Aug 3, 2023

What problem does this feature solve?

support top-level-await

What does the proposed API of configuration look like?

await is only valid in async functions and the top level bodies of modules (at main.js:241812:83)

@hanyaxxx hanyaxxx added feat New feature or request pending triage The issue/PR is currently untouched. labels Aug 3, 2023
@hyf0 hyf0 added awaiting more feedback and removed pending triage The issue/PR is currently untouched. labels Aug 3, 2023
@hyf0 hyf0 changed the title 可以支持顶层await吗 Support top level await 可以支持顶层await吗 Aug 4, 2023
@ahabhgk ahabhgk changed the title Support top level await 可以支持顶层await吗 support top-level-await Oct 13, 2023
@ahabhgk ahabhgk self-assigned this Oct 17, 2023
@ahabhgk ahabhgk linked a pull request Oct 20, 2023 that will close this issue
2 tasks
@ahabhgk ahabhgk closed this as completed Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants