collect_aio
collects the data of an Aio or list of Aios, waiting for
resolution if still in progress.
collect_aio_
is a variant that allows user interrupts, suitable for
interactive use.
Value
Depending on the type of ‘x’ supplied, an object or list of objects (the same length as ‘x’, preserving names).
Details
This function will wait for the asynchronous operation(s) to complete if still in progress (blocking).
Using x[]
on an Aio x
is equivalent to the
user-interruptible collect_aio_(x)
.