QueueJob

public protocol QueueJob: Codable

Defines a job which can be enqueued.

  • id

    The ID of this job, which can be used in a modest attempt to cancel the job, if required.

    Declaration

    Swift

    var id: String
  • Any data associated with this job.

    Declaration

    Swift

    var data: Data?
  • The date/time the job was created

    Declaration

    Swift

    var createdDate: Date
  • The intended action to be performed by the Processor of this job.

    Declaration

    Swift

    var action: String