{"library":"ca11back-queue","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install ca11back-queue","imports":["const CallbackQueue = require('ca11back-queue');","const queue = new CallbackQueue(); queue.push((next, arg) => { next(arg); }, 'test');","const queue = new CallbackQueue('initArg');"]},{"cmd":"yarn add ca11back-queue","imports":[]},{"cmd":"pnpm add ca11back-queue","imports":[]}],"homepage":"https://github.com/BerendKemper/emperjs#readme","github":"https://github.com/BerendKemper/emperjs","docs":null,"changelog":null,"pypi":null,"npm":"ca11back-queue","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}