Is asyncio.sleep() necessary when yielding?

rmlibre at riseup.net rmlibre at riseup.net
Tue Jan 28 19:14:30 EST 2020


I'm trying to figure out how the event loop handles switching tasks
inside of an async generator, and consequently, the constraints on its
calling code. For example:


> async def 
>
>
>
>
>
>


More information about the Python-list mailing list