Future

class Future(empty: bool = False, annotation: Dict[str, Any] | None = None, comm: Comm | None = None, *args: Any, **kwargs: Any)[source]
get_timeout() float | None[source]

Returns async timeout.

set_timeout(timeout: float) None[source]

Sets a new timeout for the method call.

async static wait_all(futures: List[Future | Coroutine[Any, Any, Any] | Task[Any] | None]) List[Any][source]