-
Notifications
You must be signed in to change notification settings - Fork 41
await 语法支持有问题,会阻塞后续逻辑 #16
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
Comments
QuickJS对Promise的支持有问题,我这边研究一下,也欢迎你一起研究。 |
被加到pendingjob里了,参考qjs.c源码,里面有个事件循环,js_std_loop来处理这些job |
我也遇到了这个问题,使用Promise不行,请问有什么解决办法吗? |
在执行完js后,增加以下处理,可以解决
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
测试代码如下:
日志输出如下,test finish 没有输出
D/QuickJS: Hello World
D/QuickJS: test Async start
The text was updated successfully, but these errors were encountered: