wait

package
v5.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func For

func For(timeout, interval time.Duration, f func() (bool, error)) error

For polls the given function 'f', once every 'interval', up to 'timeout'.

func Retry

func Retry(ctx context.Context, operation func() error, opts ...backoff.RetryOption) error

Retry retries the given operation until it succeeds or the context is canceled. Similar to backoff.Retry but with a different signature.

func SimpleNotify

func SimpleNotify(message string) backoff.Notify

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL