A small JavaScript library for queuing promises, allowing control over concurrency and priority. Current stable version: 1.1.33. Simple API with support for options like maxOperationCount and task priority. Less feature-rich than async.queue but lightweight and easy to integrate.
npm install puqeueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a queue with concurrency 1 and adds three tasks executed sequentially.
Ensure the argument to add() is a function returning a promise.
Use distinct priority values to control order.
Set a finite maxOperationCount for resource control.
Use correct import: import Puqeue from 'puqeue' or const Puqeue = require('puqeue').Instantiate with 'new Puqeue()'.
No dependency data recorded yet.