RetryResult

public enum RetryResult

Outcome of determination whether retry is necessary.

  • Retry should be attempted immediately.

    Declaration

    Swift

    case retry
  • Retry should be attempted after the associated TimeInterval.

    Declaration

    Swift

    case retryWithDelay(TimeInterval)
  • Do not retry.

    Declaration

    Swift

    case doNotRetry
  • Do not retry due to the associated Error.

    Declaration

    Swift

    case doNotRetryWithError(Error)