(self, _list, num_returns=None, timeout=None, return_not_ready=False)
return _list
Args:
            _list (list:                    list of object ids to wait for
            num_returns (int):              if None: wait for all; if any number waits for that number
            timeout (int):                  Optional. If specified, waits only for ""timeout"" milliseconds
            return_not_ready (bool):        if True: returns tuple (rdy, not_rdy). If false: returns rdy
Args:
            _list (list:                    list of object ids to wait for
            num_returns (int):              if None: wait for all; if any number waits for that number
            timeout (int):                  Optional. If specified, waits only for ""timeout"" milliseconds
            return_not_ready (bool):        if True: returns tuple (rdy, not_rdy). If false: returns rdy
Args : _list ( list : list of object ids to wait for num_returns ( int ) : if None : wait for all ; if any number waits for that number timeout ( int ) : Optional . If specified waits only for timeout milliseconds return_not_ready ( bool ) : if True : returns tuple ( rdy not_rdy ) . If false : returns rdy
def wait(self, _list, num_returns=None, timeout=None, return_not_ready=False):
        """
        Args:
            _list (list:                    list of object ids to wait for
            num_returns (int):              if None: wait for all; if any number waits for that number
            timeout (int):                  Optional. If specified, waits only for ""timeout"" milliseconds
            return_not_ready (bool):        if True: returns tuple (rdy, not_rdy). If false: returns rdy
        """
        if self.runs_distributed:
            num_returns = len(_list) if num_returns is None else num_returns
            rdy, not_rdy = ray.wait(_list, num_returns=num_returns, timeout=timeout)
            if return_not_ready:
                return rdy, not_rdy
            return rdy

        if return_not_ready:
            return _list, []
        return _list
def wait ( self , _list , num_returns = None , timeout = None , return_not_ready = False ) : if self . runs_distributed : num_returns = len ( _list ) if num_returns is None else num_returns rdy , not_rdy = ray . wait ( _list , num_returns = num_returns , timeout = timeout ) if return_not_ready : return rdy , not_rdy return rdy if return_not_ready : return _list , [ ] return _list