RetryDecision

public enum RetryDecision

Represents decision of behavior on the current retry.

  • A retry should happen. The associated userInfo will be pass to the next retry in the RetryContext parameter.

    Declaration

    Swift

    case retry(userInfo: Any?)
  • There should be no more retry attempt. The image retrieving process will fail with an error.

    Declaration

    Swift

    case stop