func()

in retry.go [100:109]


func (sr *statelessRetryer) Retry(err error, attemptCount int) (time.Duration, bool) {
	if attemptCount >= sr.maxAttempts {
		return 0, false
	}
	shouldRetry := retryPredicate(err)
	if shouldRetry {
		return sr.pause(), true
	}
	return 0, false
}