EventLoopType and asynchrony #103
jamesdbrock
started this conversation in
General
Replies: 2 comments 2 replies
-
The only documentation I can find about PySide6 asynchrony is very vague. What’s the best way to do coroutines in collagraph? https://doc.qt.io/qtforpython-6/examples/example_async_minimal.html |
Beta Was this translation helpful? Give feedback.
0 replies
-
It's complicated: https://github.com/harvimt/quamash Personally I think until Pyside6 supports it natively we won't really be able to do it in an elegant/efficient manner. Your first link is the best you can do with Qt today. I guess you could try to generalize that AsyncHelper. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
collagraph/collagraph/types.py
Lines 6 to 9 in c23e173
Can I use Python’s built-in
async
/await
coroutines with theQT
event loop?Beta Was this translation helpful? Give feedback.
All reactions