WorkerSet.fetch_ready_async_reqs(*, timeout_seconds: int | None = 0, return_obj_refs: bool = False, mark_healthy: bool = False) List[Tuple[int, T]][source]#

Get esults from outstanding asynchronous requests that are ready.

  • timeout_seconds – Time to wait for results. Default is 0, meaning those requests that are already ready.

  • return_obj_refs – Whether to return ObjectRef instead of actual results.

  • mark_healthy – Whether to mark the worker as healthy based on call results.


A list of results successfully returned from outstanding remote calls, paired with the indices of the callee workers.