Help us shape the future of Go! Take the 2026 Go Developer Survey

wait

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2020 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrWaitCanceled = errors.New("backoff cancelled")
View Source
var ErrWaitTimeout = wait.ErrWaitTimeout

Functions

func ExponentialBackoff

func ExponentialBackoff(ctx context.Context, backoff Backoff, condition ConditionFunc) error

Types

type Backoff

type Backoff = wait.Backoff

type ConditionFunc

type ConditionFunc = wait.ConditionFunc

Jump to

Keyboard shortcuts

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