waitutil

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2021 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrWaitCancelled = errors.New("cancelled while waiting for the condition")

Functions

func PollImmediateWithContext

func PollImmediateWithContext(ctx context.Context, interval, timeout time.Duration, condition w.ConditionFunc) error

func PollInfinite

func PollInfinite(ctx context.Context, interval time.Duration, condition w.ConditionFunc) error

func WaitFor

func WaitFor(wait w.WaitFunc, fn w.ConditionFunc, done <-chan struct{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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