Structure
JobData
Holds information about the Job that is to be encoded to the persistence store.
struct JobData
Topics
Initializers
init(from: any Decoder) throwsCreates a new instance by decoding from the given decoder.init(payload: [UInt8], maxRetryCount: Int, jobName: String, delayUntil: Date?, queuedAt: Date, attempts: Int)Creates a newJobStorageholding object
Instance Properties
let attempts: Int?The number of attempts made to run theJob.let delayUntil: Date?A date to execute this job afterlet jobName: StringThe name of theJoblet maxRetryCount: IntThe maxRetryCount for theJob.let payload: [UInt8]The job data to be encoded.let queuedAt: DateThe date this job was queued
Relationships
Conforms To
Swift.DecodableSwift.EncodableSwift.SendableSwift.SendableMetatype