Versions in this module Expand all Collapse all v1 v1.1.0 Nov 6, 2026 v1.0.0 Nov 6, 2026 Changes in this version + func Wait(ctx context.Context, c Clock, d time.Duration) error + type Clock interface + NewTimer func(time.Duration) Timer + Now func() time.Time + type Manual struct + func NewManual(now time.Time) *Manual + func (m *Manual) Advance(d time.Duration) + func (m *Manual) NewTimer(d time.Duration) Timer + func (m *Manual) Now() time.Time + type Real struct + func (Real) NewTimer(d time.Duration) Timer + func (Real) Now() time.Time + type Timer interface + C func() <-chan time.Time + Stop func() bool