rclone_pathmap.py
async def _try_wait_for(cond, args=tuple(), max_tries=3, backoff=1):
  ''' Try waiting for a condition, otherwise continue
  '''
  while True:
    if await _await(cond(*args)):
      return True
    max_tries -= 1
    if max_tries <= 0:
      return False
    await asyncio.sleep(backoff)
 Try waiting for a condition, otherwise continue
  
Try waiting for a condition, otherwise continue
Try waiting for a condition otherwise continue
async def _try_wait_for(cond, args=tuple(), max_tries=3, backoff=1):
  while True:
    if await _await(cond(*args)):
      return True
    max_tries -= 1
    if max_tries <= 0:
      return False
    await asyncio.sleep(backoff)
async def _try_wait_for ( cond , args = tuple ( ) , max_tries = 3 , backoff = 1 ) : while True : if await _await ( cond ( * args ) ) : return True max_tries -= 1 if max_tries <= 0 : return False await asyncio . sleep ( backoff )
Try waiting for a condition, otherwise continue
Try waiting for a condition otherwise continue
''' Try waiting for a condition, otherwise continue
  '''
cond
args
max_tries
backoff