ca11back-queue

JSON →
library 3.0.0 ·javascript
verified Jun 7, 2026

A synchronous execution queue for asynchronous callbacks that prevents event loop blocking. Version 3.0.0, stable, uses a manual next() pattern similar to Express middleware. The first pushed callback executes immediately; subsequent calls are queued. Supports initArgs for default arguments across all callbacks and argument passing via push() and next(). Unlike async.queue or p-limit, it enforces sequential execution with explicit next invocation. Requires Node >14.0.0.