Package retry contains a very simple arbitrary function retrier.
Retry retries the given jobFunc until the context cancels. If a retry is needed and retryFunc is not nil, it will be called. retryFunc will get the error that caused the retry. If retryFunc retries an error, then the retry procedure stops, and the error is returned.