Preparing for system design interviews?  Try bugzed.com →

Custom Idle Queue

JSON →
library 5.0.2 ·javascript
verified Jun 7, 2026

A JavaScript library for optimizing the performance of important tasks by delaying background tasks on any limited resource (e.g., database calls, HTTP requests). Version 5.0.2 is the current stable release, with TypeScript support and ESM/CJS dual packaging. Unlike requestIdleCallback (which is CPU-only), this enables priority-based queueing for arbitrary resources like network I/O, service workers, or animations. Provides IdleQueue class with wrapCall() to queue resource access and requestIdlePromise() to wait until the resource is idle. Active maintenance on GitHub.

total hits 9
actors 2 distinct systems
last hit 16d ago AhrefsBot
GPTBot
3
Humans
5

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇬🇧 United Kingdom