pyotherside icon indicating copy to clipboard operation
pyotherside copied to clipboard

Async await?

Open pauldotknopf opened this issue 7 years ago • 1 comments

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.

pauldotknopf avatar Mar 29 '18 20:03 pauldotknopf

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.

alex-eri avatar Jun 15 '20 10:06 alex-eri