{"library":"awaitqueue","type":"library","category":null,"description":"AwaitQueue is a TypeScript-first utility designed to manage and execute asynchronous tasks sequentially within Node.js and browser environments. Currently stable at version 3.3.0, it provides a robust mechanism to enqueue `Promise`-returning or async functions, ensuring they run one after another, preventing concurrency issues. Key features include task naming, the ability to remove specific pending tasks, and a `stop` mechanism that rejects all currently pending tasks with custom error types. Its primary differentiator lies in its straightforward API for controlling task flow, particularly useful in scenarios requiring strict ordering, such as database writes, API calls with rate limits, or resource-intensive operations.","language":"javascript","status":"active","version":"3.3.0","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install awaitqueue","imports":["import { AwaitQueue } from 'awaitqueue';","import type { AwaitQueuePushOptions } from 'awaitqueue';","import { AwaitQueueStoppedError } from 'awaitqueue';"]},{"cmd":"yarn add awaitqueue","imports":[]},{"cmd":"pnpm add awaitqueue","imports":[]}],"homepage":null,"github":"https://github.com/versatica/awaitqueue","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/awaitqueue","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/awaitqueue/compatibility"}}