Versions in this module Expand all Collapse all v0 v0.13.3 Jul 20, 2023 v0.13.2 Jul 20, 2023 Changes in this version + func Backoff(attempt int) time.Duration + func Poll(pctx context.Context, timeout time.Duration, fn func() (*T, *Err)) (*T, error) + func Wait(pctx context.Context, timeout time.Duration, fn WaitFn) error + type Err struct + Err error + Halt bool + func Continue(err error) *Err + func Continuef(format string, err error, args ...interface{}) *Err + func Continues(msg string) *Err + func Halt(err error) *Err + type Info struct + Info *T + Timeout time.Duration + type Option func(*Info[T]) + func OnPoll(callback func(*T)) Option[T] + func Timeout(dur time.Duration) Option[T] + type WaitFn func() *Err