status

package
v0.0.0-...-f7f7522 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Poll

func Poll(ctx context.Context, poller func(chan<- bool), backoffDuration time.Duration) error

Poll retries the poller function, sleeping for the given backoffDuration If the poller times out it will return an error

func Retry

func Retry(ctx context.Context, retryable func() error, backoffDuration time.Duration) error

Retry retries the passed retryable function, sleeping for the given backoffDuration If the context times out while executing the retryable function, an error is returned

Types

This section is empty.

Jump to

Keyboard shortcuts

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