RuntimeHandle.next

async RuntimeHandle.next(future)[source]

Wait for and return the next batch of results from a map task.

Returns:

A list of the results that arrived

while the task was waiting. Each result is paired with the index of its arguments in the original map call.

Return type:

(list[tuple[int, Any]])