3 ms·
For even more fun, use async def + await, and you save yourself the while loop since that what the asyncio.run() does for you.
by BiteCode_dev 7y ago
For even more fun, use async def + await, and you save yourself the while loop since that what the asyncio.run() does for you.
- qqssccfftt 7y agoasyncio will get confused as to why youre yielding random things and it won't work
- BiteCode_dev 7y agoNo, you just wrap it in a Future.
- qqssccfftt 7y agoSo now you have even more confusing code. Good work!