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

Async await? #92

Open
pauldotknopf opened this issue Mar 29, 2018 · 1 comment
Open

Async await? #92

pauldotknopf opened this issue Mar 29, 2018 · 1 comment

Comments

@pauldotknopf
Copy link

Instead of having a single synchrounous background thread, what about having a single event loop that we can pass commands to and send the results back to Qt the way things are done currently with Python.call?

I'd be willing to do this if you can guide my on what you think the best approach would be.

@alex-eri
Copy link

I think best would be sending js callback function to python. so possible add_done_callback for async tasks and call multiple time for generators.

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

2 participants