一个全局的事件队列,使用一个计时器然后根据时间线队列来帮助你实现一些方法的重复调用。
Tiny queue data structure
Parse Postgres interval columns
Modern version of setInterval for promises and async functions available in Node.js and browsers.
fast, tiny `queueMicrotask` shim for modern engines
Throttles arbitrary code to execute a maximum number of times per interval. Best for making throttled API requests.
qjobs is a simple and stupid queue job manager for nodejs
A shim for the setImmediate efficient script yielding API
Promise queue with concurrency control
The smallest and simplest JavaScript priority queue
A simple tool to keep requests to be executed in order.
queue-lit is a tiny queue data structure in case you `Array#push()` or `Array#shift()` on large arrays very often
A simple, dependency-free library for concurrent promise-based queues. Comes with with concurrency and timeout control.
Next tick shim that prefers process.nextTick over queueMicrotask for compat
A simple rate limited queue for asynchronous operations. Restricts the number of operations executed per time interval.
Works similar to `setInterval`, but calls all callbacks scheduled using `setHarmonicInterval` all at once, which have same delay in milliseconds.
A fast and efficient leaky bucket implementation
Interval search tree with TypeScript support
Simple JS queue with auto run for node and browsers
In memory queue system prioritizing tasks
Promise-based queue
The fastest javascript implementation of a double-ended queue. Used by the official Redis, MongoDB, MariaDB & MySQL libraries for Node.js and many other libraries. Maintains compatability with deque.
LRU Queue
Spinners for use in the terminal