|
|
|
|
|
by takeda
2386 days ago
|
|
> Yield is two-way. `result = await agen.asend(next_message)` et al. It's still limited. To get a result you need to send something. Using it for something that's not strictly request-response can get complex. > Having worked with Python async for 3 years, anything that asyncio touches is completely poisoned. ASGI is another in the line of terribleness of the modern async ecosystem. That's your own bias. I also used asyncio from the beginning and got a different opinion. The asyncio package that comes with python is low level and is meant for building frameworks. If you used aiohttp, asyncpg and other packages packages build on top of asyncio it's actually quite enjoyable. |
|