Skip to main content

Module queue

Module queue 

Source
Expand description

Durable background jobs backed by SQLite and Apalis.

Modules§

commands
Application-console entry points for failed queue jobs.

Structs§

FailedJob
A job that exhausted all of its configured attempts.
TaskBuilder
Builder for creating Task instances with optional configuration
WorkerBuilder
Declaratively builds a Worker
WorkerContext
Utility for managing a worker’s context

Enums§

Error
Failures encountered while opening or preparing a SQLite queue.

Traits§

TaskSink
A sink for submitting tasks to a backend.

Functions§

failed
List jobs that exhausted all configured attempts, newest first.
flush
Delete exhausted jobs, optionally retaining recent failures or filtering by queue.
forget
Delete an exhausted job permanently.
retry
Make an exhausted job available to a worker again with a fresh attempt count.
sqlite
Connect to an explicitly migrated SQLite queue.

Type Aliases§

BoxDynError
Convenience type alias