Custom Idle Queue
JSON →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.
Resources
packagecustom-idle-queue ↗
API endpoints
full doc /v1/registry/custom-idle-queue