ticket-queue

JSON →
library 0.2.1 ·javascript
verified Jun 7, 2026

A ticket-based FIFO queue for Node.js (v24+), Bun, and Deno. Unlike traditional mutexes or single-blocking acquire, it allows non-blocking ticket acquisition, then later blocking until the ticket is first in line. Uses Explicit Resource Management (Disposable) for automatic cleanup. v0.2.1, ESM-only, TypeScript-types included. Differentiator: tickets can be acquired early, allowing parallel work before serializing order.