code: func (b *Backoff) Duration() time.Duration {
  	d := b.ForAttempt(b.attempt)
  	b.attempt++
  	return d
  }
docs: // Duration returns the duration for the current attempt before incrementing
  // the attempt counter. See ForAttempt.