Installation
Core Package
import { createJob, createQueueRuntime } from "@repo/queue";
@repo/queue is a workspace package -- no registry install needed.
Adapter
Adapters are imported from sub-paths:
import { createPgBossAdapter } from "@repo/queue/adapters/pg-boss";
Peer Dependencies
Each adapter has its own peer dependency. Install the one matching your backend:
pg-boss
pnpm add pg-boss
Requires a PostgreSQL database. pg-boss manages its own schema automatically.