package
Version:
v0.3.2
Opens a new window with list of versions in this module.
Published: Mar 4, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
CancelOnInterrupt creates a context and calls the context cancel function when an interrupt signal is caught
IsMaxRetries checks whether the error is due to hitting the
maximum number of retries or not.
OrStrings returns the first non empty string in its arguments
Retry keeps trying the function until the second argument
returns false, or no error is returned.
Func represents functions that can be retried.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.