Versions in this module Expand all Collapse all v0 v0.4.2 Oct 29, 2014 v0.4.1 Oct 17, 2014 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