Initializerheckj.formic 0.3.0Formic
init(maxRetries:strategy:)
Creates a new backup setting with the values you provide.
init(maxRetries: Int, strategy: Strategy)
Parameters
- maxRetries
The maximum number of retry attempts allowed. Negative integers are treated as 0 retries.
- strategy
The delay strategy for waiting between retries.