git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is asyncio.sleep() necessary when yielding?


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 
>
>
>
>
>
>