Skip to content

Framework

Queues

Queues is a pure Swift queuing system that allows you to offload task responsibility to a side worker.

Overview

Some of the tasks this package works well for:

  • Sending emails outside of the main request thread

  • Performing complex or long-running database operations

  • Ensuring job integrity and resilience

  • Speeding up response time by delaying non-critical processing

  • Scheduling jobs to occur at a specific time

Topics

Classes

Protocols

  • AnyJob
    A type-erased version of Job.
  • AsyncJob
    A task that can be queued for future execution.
  • AsyncJobEventDelegate
    Represents an object that can receive notifications about job statuses
  • AsyncQueue
  • AsyncScheduledJob
    Describes a job that can be scheduled and repeated
  • Job
    A task that can be queued for future execution.
  • JobEventDelegate
    Represents an object that can receive notifications about job statuses
  • Queue
    A type that can store and retrieve jobs from a persistence layer
  • QueuesDriver
    A new driver for Queues
  • ScheduledJob
    Describes a job that can be scheduled and repeated

Structures

Enumerations

Extended Modules