func()

in exponential/exponential.go [172:178]


func (b *Backoff) newTimer(d time.Duration) *timer {
	if b.clock == nil {
		t := time.NewTimer(d)
		return &timer{C: t.C, timer: t}
	}
	return b.clock.NewTimer(d)
}