Basic retrying class. Retries a specified block of code a specified number of times before giving up. The 'code block' is passed as a lazy bool parameter to the loop() / opCall() method.
Retrying class which waits for a specified amount of time before each retry.
I/O wait and retry callback manager
Provides a simple means for trying a block of code and retrying it if specified conditions occur. The default condition for retrying is if any exceptions are thrown in the code block. Custom success conditions can be easily provided as a delegate to the class' constructor.
Usage example:
Example using a custom delegate to determine success:
An extended class, WaitRetry, implements a retryer which pauses for a specified length of time before each retry.