func delayForBackOff(backoff *Backoff, cancel <-chan struct{}) bool {
	d := backoff.Step()
	select {
	case <-time.After(d):
		return true
	case <-cancel:
		return false
	}
}
// delayForBackOff invokes time.After for the supplied backoff duration.
// The delay may be canceled by closing the passed channel. If terminated early, returns false.
delayForBackOff invokes time.After for the supplied backoff duration.
The delay may be canceled by closing the passed channel. If terminated early, returns false.
// delayForBackOff invokes time . After for the supplied backoff duration . // The delay may be canceled by closing the passed channel . If terminated early returns false .
func delayForBackOff(backoff *Backoff, cancel <-chan struct{}) bool {
	d := backoff.Step()
	select {
	case <-time.After(d):
		return true
	case <-cancel:
		return false
	}
}
func delayForBackOff ( backoff * Backoff , cancel <- chan struct { } ) bool { d := backoff . Step ( ) select { case <- time . After ( d ) : return true case <- cancel : return false } }
delayForBackOff invokes time.After for the supplied backoff duration.
delayForBackOff invokes time . After for the supplied backoff duration .