RetryConstraint

public enum RetryConstraint

Behaviour for retrying the job

  • Retry after a certain time. If set to 0 it will retry immediately

    Declaration

    Swift

    case retry(delay: TimeInterval)
  • Will not retry, onRemoved will be called immediately

    Declaration

    Swift

    case cancel
  • Exponential back-off

    Declaration

    Swift

    case exponential(initial: TimeInterval)