-
Notifications
You must be signed in to change notification settings - Fork 282
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
Wire up custom event loop interop #175
Comments
Using PollEvents did the trick. Thanks for the information! Not quite a problem for the sqlite plugin at least, because it provides a way to execute operations in batches, without going back and forth from Dart and native. Useful to know none the less. |
Try it out with |
fix taged in tag: v0.29.0. The delay of 30ms still occurs, there is currently no solution. |
The flutter/engine GLFW implementation makes use of the
custom_task_runners
.The implementation is available here: flutter/engine@4e344e6 , it is just a matter of porting it to go-flutter.
The use of a custom event loop interop will resolve some delay experienced by plugin author #132 (comment) , and it will able us to have 'true' passive sleep. (instead of fetching platform message every 0.016 seconds even when there is no message available)
The text was updated successfully, but these errors were encountered: