JobPersister

public protocol JobPersister

Method to implement to have a custom persister

  • Return an array of QueueName persisted

    Declaration

    Swift

    func restore() -> [String]
  • Restore all job in a single queue

    Declaration

    Swift

    func restore(queueName: String) -> [String]
  • Add a single job to a single queue with custom params

    Declaration

    Swift

    func put(queueName: String, taskId: String, data: String)
  • Remove a single job for a single queue

    Declaration

    Swift

    func remove(queueName: String, taskId: String)