retry icon indicating copy to clipboard operation
retry copied to clipboard

Retry on result support

Open gogasca opened this issue 7 years ago • 1 comments

Add similar behavior as retrying

def retry_if_result_none(result):
    """Return True if we should retry (in this case when result is None), False otherwise"""
    return result is None

@retry(retry_on_result=retry_if_result_none)
def might_return_none():
    print "Retry forever ignoring Exceptions with no wait if return value is None"

gogasca avatar Feb 16 '19 08:02 gogasca

I would like to support this functionality.

YeeaaahMan avatar Aug 12 '24 11:08 YeeaaahMan