async-iterable-queue

JSON →
library 1.0.16 ·javascript
verified Jun 7, 2026

A lightweight TypeScript library providing an AsyncIterableQueue<T> class that implements both AsyncIterable<T> and async push/end methods. Version 1.0.16, released as needed with no fixed cadence. It allows producers to push items and consumers to iterate asynchronously using for-await-of. Unlike other async queue libraries, it integrates directly with JavaScript's async iteration protocol, supports TypeScript, and has zero dependencies. It requires Node.js >=14.17.5 and is ESM-only.