Skip to content

Protocol

AsyncJob

A task that can be queued for future execution.
protocol AsyncJob : Job

Topics

Associated Types

  • Payload
    The data associated with a job

Instance Methods

  • dequeue(_:_:)
    Called when it’s this Job’s turn to be dequeued.
  • error(_:_:_:)
    Called when there is an error at any stage of the Job’s execution.

Relationships

Inherits From

  • AnyJob
  • Job
  • Swift.Sendable
  • Swift.SendableMetatype