ReplanningRetryPolicy

public protocol ReplanningRetryPolicy

Specifies how to handle requests which failed during replanning of a Route.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Calculates a delay between each of the retries.

    Declaration

    Swift

    func calculateRetryDelay(forAttempt attempt: Int) -> DispatchTimeInterval

    Parameters

    attempt

    Attempt number.

    Return Value

    Delay for retry attempt.