What problem does it solve?
This Skill addresses the complexity of managing asynchronous background processing, job scheduling, and task batching within a Stacks application, ensuring that time-consuming operations do not block the main execution thread.
Core Features & Use Cases
- Job Dispatching: Provides a fluent API to dispatch jobs synchronously, asynchronously, or with specific delays and retry logic.
- Batch Processing: Allows grouping multiple jobs into batches with lifecycle hooks for completion, failure, and progress tracking.
- Health Monitoring: Includes built-in health checks and notification systems for failed jobs via email, Slack, or Discord.
- Use Case: Use this to offload heavy tasks like sending bulk emails, processing image uploads, or generating reports to background workers, ensuring your application remains responsive.
Quick Start
Use the stacks-queue skill to dispatch a new job named SendWelcomeEmail with the provided user data.