This is the Linux app named retry whose latest release can be downloaded as v4.5.0.zip. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named retry with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
SCREENSHOTS:
retry
DESCRIPTION:
Simple library for retry mechanism. Context allow to set context of retry default are Background context. Return the direct last error that came from the retried function default is false (return wrapped errors with everything) WithTimer provides a way to swap out timer module implementations. This primarily is useful for mocking/testing, where you may not want to explicitly wait for a set duration for retries. DelayTypeFunc is called to return the next delay to wait after the retriable function fails on err after n attempts. FixedDelay is a DelayType that keeps delay the same through all iterations. DelayTypeFunc accepts a new parameter err - this breaking change affects only your custom Delay Functions. RetryIf controls whether a retry should be attempted after an error (assuming there are any retry attempts remaining).
Features
- Sightly complicated interface
- Infinity retry is possible by set Attempts(0) by PR #49
- BackOffDelay is a DelayType which increases delay between consecutive retries
- FixedDelay is a DelayType which keeps delay the same through all iterations
- WrappedErrors returns the list of errors that this Error is wrapping
- Setting to 0 will retry until the retried function succeeds. default is 10
Programming Language
Go
Categories
This is an application that can also be fetched from https://sourceforge.net/projects/retry.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.