Search results
421 packages found
Helpers you can use in tests that relate to the passage of time (i.e. code that involves setTimeout, setInterval, new Date(), Date.now(), etc)
Turn setTimeout into a promisefy way
A react hook to schedule and clear timed functions declaratively
setTimeout,interval with wrequestAnimationFrame
A setTimeout, clearTimeout, setInterval, clearInterval polyfill for Kony Visualizer native apps.
Simple and configurable game/update loop.
> An easy way to use setTimeout and setInterval.
Simple replacement for setTimeout, setInterval, and polling loops
受到`jest.advanceTimersByTime(msToRun)`的启发,实现的可以快进延迟的`setTimeout`
Promisify setTimeout & setInterval
Promisify setTimeout & setInterval
Collection of shims for Screeps (https://screeps.com/) that implements some of the missing async features from Node, namely Promises, setTimeout, setInterval, queueMicroTask in a screeps friendly way
Performant setTimeout, using only a couple timers internally.
Spec'd and/or common JavaScript APIs brought to AssemblyScript.
A utility for setting and repeating timeouts
Performance Timing Functions for UI Development
- requestAnimationFrame
- webkitRequestAnimationFrame
- mozRequestAnimationFrame
- cancelAnimationFrame
- mozCancelAnimationFrame
- webkitCancelAnimationFrame
- webkitCancelRequestAnimationFrame
- setTimeout
- setInterval
- cancelTimeout
- timing functions
- requestAnimationFrame polyfill
- polyfill
- animation timing
timer 管理器,在项目中更好的使用 setInterval 和 setTimeout