Search results
420 packages found
Function that returns a Promise which will be resolved on timeout
A better async function than the setTimeout(..., 0) for the browser
Just for making polling task easier to create.
Turn setTimeout into a promisefy way
Simple and configurable game/update loop.
> An easy way to use setTimeout and setInterval.
受到`jest.advanceTimersByTime(msToRun)`的启发,实现的可以快进延迟的`setTimeout`
Simple replacement for setTimeout, setInterval, and polling loops
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
Spec'd and/or common JavaScript APIs brought to AssemblyScript.
A utility for setting and repeating timeouts
Performant setTimeout, using only a couple timers internally.
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
A simple terminal utility for elevate your time management for the next level!