(self)
Waits for the result to arrive. If the AsyncResult object has an
        expiry set, and the result did not arrive within that timeout,
        an :class:`AsyncResultTimeout` exception is raised
Waits for the result to arrive. If the AsyncResult object has an
        expiry set, and the result did not arrive within that timeout,
        an :class:`AsyncResultTimeout` exception is raised
Waits for the result to arrive . If the AsyncResult object has an expiry set and the result did not arrive within that timeout an : class : AsyncResultTimeout exception is raised
def wait(self):
        """Waits for the result to arrive. If the AsyncResult object has an
        expiry set, and the result did not arrive within that timeout,
        an :class:`AsyncResultTimeout` exception is raised"""
        if self._is_ready:
            return
        if self._ttl is None:
            while not self._is_ready:
                self._conn.serve()
        else:
            while True:
                timeout = self._ttl - time.time()
                self._conn.poll(timeout = max(timeout, 0))
                if self._is_ready:
                    break
                if timeout <= 0:
                    raise AsyncResultTimeout("result expired")
def wait ( self ) : if self . _is_ready : return if self . _ttl is None : while not self . _is_ready : self . _conn . serve ( ) else : while True : timeout = self . _ttl - time . time ( ) self . _conn . poll ( timeout = max ( timeout , 0 ) ) if self . _is_ready : break if timeout <= 0 : raise AsyncResultTimeout ( "result expired" )