init(maxRetries:strategy:)

Creates a new backup setting with the values you provide.

Backoff.swift:92
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.