wait

package
v4.35.2 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2026 License: MIT Imports: 5 Imported by: 66

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func For

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

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

func Retry added in v4.27.0

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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