Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WaitUntil ¶
func WaitUntil( ctx context.Context, initialInterval time.Duration, maxInterval time.Duration, maxElapsedTime time.Duration, operation func() error, ) error
WaitUntil is a helper method that waits until the operation func() returns nil successfully (or) times out after maxElapsedTime. initialInterval and maxIntervals let's you specify the intervals for exponential backoff
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.