4 ms·
Have you not used async in Python lately? IMO it's very easy to do.
by philote 4y ago
Have you not used async in Python lately? IMO it's very easy to do.
- Adiqq 4y agoI don't have huge experience with Python, but I used async code with C#/Typescript and lately I had to use some asyncio magic. I found this article: https://blog.dalibo.com/2022/09/12/monitoring-python-subprocesses.html https://blog.dalibo.com/2022/09/12/monitoring-python-subproc... and while async/await syntax is the same, it's not entirely clear for me, why there's some event loop and what exactly happens, when I pass function to asyncio.run(), like here: https://github.com/pallets/click/issues/85#issuecomment-503464628 https://github.com/pallets/click/issues/85#issuecomment-5034... So, you can use it and it's not that hard, but there are some parts that are vague for me, no matter which language implements async support.