Versions in this module Expand all Collapse all v1 v1.0.5 Aug 24, 2015 Changes in this version + var ErrWaitTimeout = errors.New("timed out waiting for the condition") + func Jitter(duration time.Duration, maxFactor float64) time.Duration + func Poll(interval, timeout time.Duration, condition ConditionFunc) error + func WaitFor(wait WaitFunc, c ConditionFunc) error + type ConditionFunc func() (done bool, err error) + type WaitFunc func() <-chan struct