# README
Util package for retrying, functions and tools for situations where we are retrying/polling for a change.
Based around a 'RetryStrategy' interface that allows different approaches such as:
- retry X times
- retry for X seconds
- retry for 2 minutes but backing off
# Functions
No description provided by the author
FailFast allows code to break out of the retry if they encounter a situation they would prefer to fail fast.
NewBackoffAndRetryForeverStrategy will keep retrying until there is a success.
NewDoublingBackoffStrategy keeps retrying until successful or until it reaches maxRetries, doubling the initialInterval wait period after each additional retry to avoid exacerbating problems with failing traffic.
NewTimeoutStrategy retries at the provided (fixed) interval until the timeout duration has elapsed.
# Structs
No description provided by the author
# Interfaces
Strategy interface allows for flexible strategies for retrying/polling functions.