Usage
Quick Start
Get started with DataQueue
In this docs, we'll use a Next.js with App Router project which is deployed to Vercel as an example.
The TL;DR is:
- Run migrations before deploying your app
- Define job handlers
- Initialize the job queue
- Add a job
- Create three API routes to process jobs, reclaim stuck jobs, and cleanup old jobs
- Call those API routes periodically.