# Functions
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.
# Type aliases
Func represents functions that can be retried.