ReplanningRetryPolicy

public protocol ReplanningRetryPolicy

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

  • 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.