Versions in this module Expand all Collapse all v0 v0.0.1-dev Jul 21, 2026 v0.0.0 Jun 25, 2026 Changes in this version + func Execute(ctx context.Context, op func(context.Context) error, opts ...Option) error + func ExecuteWithResult[T any](ctx context.Context, op func(context.Context) (T, error), opts ...Option) (T, error) + type BackoffPolicy struct + Factor float64 + Initial time.Duration + Maximum time.Duration + func (bp *BackoffPolicy) Delay() time.Duration + type Limiter interface + Wait func(context.Context) error + type Option interface + Apply func(*Options) error + func WithDisableRetry() Option + func WithLimiter(l Limiter) Option + func WithRetrier(provider func() Retrier) Option + func WithTimeout(t time.Duration) Option + type Options struct + type Retrier interface + IsRetriable func(err error) (time.Duration, bool) + func RetryIf(bp BackoffPolicy, isRetriable func(error) bool) Retrier