def waitUntilTrue(functionToCheck, timeout, sleepInterval = 0.01):
    t0 = time.time()
    
    while time.time() - t0 < timeout:
        if functionToCheck():
            return True
        time.sleep(sleepInterval)

    return False
QuerySet handler.
dataset/ETHPy150Open ufora/ufora/ufora/util/RetryAssert.py/waitUntilTrue--crossover with--dataset/ETHPy150Open satnet-project/server/services/communications/views.py/PassiveMessages.get_queryset