Definition
A function which returns an asynchronous generator iterator. It
looks like a coroutine function defined with async def
except
that it contains yield
expressions for producing a series of
values usable in an async for
loop.
Usually refers to an asynchronous generator function, but may refer to an asynchronous generator iterator in some contexts. In cases where the intended meaning isn’t clear, using the full terms avoids ambiguity.
An asynchronous generator function may contain await
expressions as well as async for
, and async with
statements.