AsyncResults Reference
Public Methods
- pending()
Function which checks the completion statuses of all its requests by calling the
pending()method on eachClientResponse. ReturnsTrueif at least one request is still in progress.- Returns
Request completion status
- Return type
bool
Public Coroutines
- async wait()
- Awaits until all its requests have completed.
- Returns
None
- async gather()
- Asynchronous generator which can be used in the
async forloop.Awaits and starts yielding results when all requests have completed.- Returns
Request response objects
- Return type
ClientResponse
- async as_completed()
- Asynchronous generator which can be used in the
async forloop.Awaits and starts yielding results immediately as they become available.- Returns
Request response objects
- Return type
ClientResponse