-
Notifications
You must be signed in to change notification settings - Fork 679
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
Top-level await支持 #1689
Comments
executeModule一开始设计是同步的,为了兼容web也只能是同步的。且为了v8和quickjs保持一致,就把异步砍掉了。 |
这么说如果只用v8可以自行打开吧 |
最新的qjs也支持顶级等待了,我看大佬加了个JS_EVAL_FLAG_ASYNC宏,所以v8是不是也可以开启顶级等待了? |
JS_EVAL_FLAG_ASYNC是qjs的宏。这和Top-level await没直接关系。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
v8 9.4应该是支持Top-level await的,不过普洱不支持,是和普洱的模块加载方式有关吗?
The text was updated successfully, but these errors were encountered: