Definition
An object created by a asynchronous generator function.
This is an asynchronous iterator which when called using the
__anext__()
method returns an awaitable object which will execute
the body of the asynchronous generator function until the next
yield
expression.
Each yield
temporarily suspends processing, remembering the
location execution state (including local variables and pending
try-statements). When the asynchronous generator iterator effectively
resumes with another awaitable returned by __anext__()
, it
picks up where it left off. See PEP 492 and PEP 525.