Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Retry ¶
Retry keeps trying the fn until it returns false or no error. It will pause between retries according to backoff strategy.
func RetryWithContext ¶ added in v0.2.0
RetryWithContext keeps trying the fn until it returns false or no error. It will pause between retries according to backoff strategy. If context is canceled during a pause context error is returned without re-calling provided fn.
Types ¶
Click to show internal directories.
Click to hide internal directories.