AsyncRun

The jobs of one AsyncSession.stream call, each as it finishes.

Usage

Source

AsyncRun(
    jobs,
    state,
)

Attributes

Name Description
progress The number of the run’s payloads in each state, now.

progress

The number of the run’s payloads in each state, now.

progress: Progress

Methods

Name Description
__aiter__() Yield each job as it finishes.
__anext__() Wait for the next job to finish, and return it.
all() Wait for every job, and return them in the order they finished.

__aiter__()

Yield each job as it finishes.

Usage

Source

__aiter__()

__anext__()

Wait for the next job to finish, and return it.

Usage

Source

__anext__()

all()

Wait for every job, and return them in the order they finished.

Usage

Source

all()

It raises as Run.all does.


oxyscraper is not affiliated with or endorsed by Oxylabs. Oxylabs and Oxy are trademarks of Oxylabs.