rx-queue is a ReactiveX-based queue library offering DelayQueue, ThrottleQueue, DebounceQueue, DelayQueueExecutor, and concurrencyExecuter. Built on RxJS and IxJS, it provides easy-to-use FIFO queues with delay, throttle, and debounce features. Version 1.0.5 is the latest stable release, requiring Node >=16 and npm >=7. It ships with TypeScript types and is fully ESM. Differentiators include a simple API, RxJS integration, and built-in executor for delayed function calls.
npm install rx-queueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a ThrottleQueue that emits at most one item per second, demonstrating throttle behavior.
Use import syntax or dynamic import(). Ensure your project is configured for ESM (e.g., set "type": "module" in package.json).
Use the exact function name concurrencyExecuter, or deprecate it and use alternatives.
Avoid calling .complete() or .error() on the queue if you intend to reuse it.
If using concurrencyExecuter, ensure ix is installed and compatible. Check migration guides.
Switch to import syntax (e.g., import { RxQueue } from 'rx-queue') or use dynamic import().Ensure you import concurrencyExecuter exactly as 'concurrencyExecuter' (not 'concurrencyExecutor').
Install RxJS 6 or 7 and use pipeable operators.