def _wait_for_ready_or_shutdown(self, timeout: Optional[float]):
    '\n        Waits for the process to be ready or to know it has failed.\n\n        :param timeout: The time to wait before readiness or failure is determined\n            .. # noqa: DAR201\n        '
    return self.runtime_cls.wait_for_ready_or_shutdown(timeout=timeout, ready_or_shutdown_event=self.ready_or_shutdown.event, ctrl_address=self.runtime_ctrl_address, timeout_ctrl=self._timeout_ctrl, shutdown_event=self.is_shutdown)
Waits for the process to be ready or to know it has failed.

:param timeout: The time to wait before readiness or failure is determined
    .. # noqa: DAR201
def _wait_for_ready_or_shutdown(self, timeout: Optional[float]):
    '\n        Waits for the process to be ready or to know it has failed.\n\n        :param timeout: The time to wait before readiness or failure is determined\n            .. # noqa: DAR201\n        '
    return self.runtime_cls.wait_for_ready_or_shutdown(timeout=timeout, ready_or_shutdown_event=self.ready_or_shutdown.event, ctrl_address=self.runtime_ctrl_address, timeout_ctrl=self._timeout_ctrl, shutdown_event=self.is_shutdown)