wait

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package wait contains helper functions to enable polling the api server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Until

func Until(pollingMillis, pollCount int, pollFunc func() (bool, error)) error

Until takes a function which is called every pollingMillis milliseconds until it returns true, it has tried polling more than pollCount times, or there is an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳