# Functions
Backoff is a functional option that sets the backoff factor.
Delay is a functional option that sets the delay between retries.
Do runs the function until it returns nil or the context is done or canceled.
DoFor retries the function until it returns nil or the given duration has passed.
DoForWithContext retries the function and passes the context to it until it returns nil or the given duration has passed.
DoWithContext runs the function and passes the context to it until it returns nil or the context is done or canceled.
Get is a generic alternative of Do that returns the result of a function that returns a value and an error.
GetWithContext is a generic alternative of DoWithContext that returns the result of a function that returns a value and an error.
If is a functional option that sets the function to determine if an error should continue the retry.
MaxRetries is a functional option that sets the maximum number of retries.
NewOptions returns a new Options with the given options applied.
RescuePanic is a functional option that controls if panics should be rescued.
# Type aliases
Option is a functional option function for Options.