Queues
Annabel exposes queues through queue() and dispatch().
Job
Queue jobs encapsulate serializable data and the work performed by a worker.
Connections
Supported connections include sync, database, and redis.
Configure queues in config/queue.php:
Database and Redis connections support retry_after and max_attempts.
Worker
Start a worker to consume jobs from the configured queue connection.
Run workers under a supervisor in production.
Use queue:work --once to process a single job and exit. Use
queue:work --stop-when-empty for finite worker runs.
Failed jobs
Failed jobs can be inspected and retried:
Use queue:flush to clear failed jobs after they are no longer needed.