Use cases and boundaries
It suits receipts or data synchronization where a run must record progress across pages and recover from handler failures. The newer source documents createBatchQueue, run tracking and persistent callback delivery. The application supplies the snapshot repository and the idempotent sink for business writes.
Getting started and compatibility
The newer batch API is available in source. It needs Node.js 22+, Redis 7.2+, and a primary whose maxmemory-policy is observable as noeviction. It supports direct and Sentinel modes. The published Queuebit 0.0.5 package has the earlier createQueuebitClient API and requires Node.js 20+.
The source demo uses the companion receipt-domain.mjs and receipt-task.mjs modules in the same directory. For your own workload, provide a snapshot repository and an idempotent sink. start confirms acceptance. Use task.get(runId) to check run progress and callback delivery. At-least-once execution and delivery can replay a write or callback. Pinned batch source example · Earlier 0.0.5 API