pyotherside
pyotherside copied to clipboard
Async await?
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.
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.