def wait_start_success(self):
    'Block until all peas starts successfully.\n\n        If not success, it will raise an error hoping the outer function to catch it\n        '
    _timeout = self.args.timeout_ready
    if (_timeout <= 0):
        _timeout = None
    else:
        _timeout /= 1000.0
    if self._wait_for_ready_or_shutdown(_timeout):
        if self.is_shutdown.is_set():
            if (not self.is_started.is_set()):
                raise RuntimeFailToStart
            else:
                raise RuntimeRunForeverEarlyError
        else:
            self.logger.success(__ready_msg__)
    else:
        _timeout = (_timeout or (- 1))
        self.logger.warning(f'{self.runtime_cls!r} timeout after waiting for {self.args.timeout_ready}ms, if your executor takes time to load, you may increase --timeout-ready')
        self.close()
        raise TimeoutError(f'{typename(self)}:{self.name} can not be initialized after {(_timeout * 1000.0)}ms')
Block until all peas starts successfully.

If not success, it will raise an error hoping the outer function to catch it
def wait_start_success(self):
    'Block until all peas starts successfully.\n\n        If not success, it will raise an error hoping the outer function to catch it\n        '
    _timeout = self.args.timeout_ready
    if (_timeout <= 0):
        _timeout = None
    else:
        _timeout /= 1000.0
    if self._wait_for_ready_or_shutdown(_timeout):
        if self.is_shutdown.is_set():
            if (not self.is_started.is_set()):
                raise RuntimeFailToStart
            else:
                raise RuntimeRunForeverEarlyError
        else:
            self.logger.success(__ready_msg__)
    else:
        _timeout = (_timeout or (- 1))
        self.logger.warning(f'{self.runtime_cls!r} timeout after waiting for {self.args.timeout_ready}ms, if your executor takes time to load, you may increase --timeout-ready')
        self.close()
        raise TimeoutError(f'{typename(self)}:{self.name} can not be initialized after {(_timeout * 1000.0)}ms')