JobRetryStrategy

public protocol JobRetryStrategy

Defines a generic strategy for how a JobQueue should handle a job which failed to process.

Attention

This class must be inherited.
  • Instructs how to retry the failed job on the provided queue

    Declaration

    Swift

    func retry<JobType: QueueJob>(job: JobType, failedOnQueue queue: JobQueue<JobType>)

    Parameters

    job

    The QueueJob which failed to process

    queue

    The JobQueue on which the job failed.