Search results
421 packages found
A tiny (61 bytes) minimum delay for Promises
Use wayt.js to make code wait for n milliseconds without setTimeout.
Convenient duration time utility
An easy way to run reliable polling without messing with setTimeout.
This npm library provides a synchronous delay function for specified milliseconds
Calls a function immediately and repeatedly after a fixed delay
an alternative method to SetTimeout() using promises
Replacements for setTimeout and setInterval that aren't updated by the browser.
Utilities for timers
best practice with setTimeout and setInterval
A simple module for calling functions at different times in the event loop. For the lazy.
>> 使用方式: >> import setTimeoutRui(此名字可以随意设定,但最好不要与setTimeout冲突) from 'settimeout-rui' >> async load() { >> await setTimeoutRui(1000) >> ...后续操作 >> }
lightweight promise-based wait/setTimeout interface (designed for use with co)
Simple replacement for setTimeout and setInterval
A delayed promise.
Wait for queue of timers (e.g. requestAnimationFrame, requestIdleCallback, setTimeout) to complete before calling a callback
browser process.nextTick
performance optimized replacement for Javascript's setTimeout and setInterval
Tiny, Performant Debounce and Throttle Functions.