Future

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

Returns async timeout.

set_timeout(timeout: float) None[source]

Sets a new timeout for the method call.

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