Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithTimeout ¶
WithTimeout retries "fn" every "interval" until one of the following conditions are met: 1. "fn" evaluates to "true". 2. "fn" returns an error. 3. The specified timeout elapses.
Types ¶
type ConditionFunc ¶
ConditionFunc represents a function that returns whether a given condition has been met, or an error.
Click to show internal directories.
Click to hide internal directories.