Displaying 1 to 8 from 8 results

jQuery-Postpone

  •    JQuery

Allows you to use the jQuery.Deferred mechanism in combination with setTimeout and setInterval.

eventedloop - :curly_loop: Evented loops for timed events & games.

  •    Javascript

An event-based loop class which can take arbitrary numbers of intervals/callback pairs. Based on Node.js EventEmitter. Created with game loops in mind.You can do as many as you like, but I highly recommend you take it easy an don't overdo it. In newer versions of Chrome, 50 intervals seems to have no detrimental effects, but of course it depends on what is happening in the callback. An example of a situation with 50 intervals is available in this demo.

wait - Syntactic sugar for setTimeout and setInterval.

  •    Javascript

Syntactic sugar for setTimeout and setInterval. Sugar for setTimeout.

heartbeats - Very efficiently manage time-based events and objects.

  •    Javascript

A simple module to very efficiently manage time-based objects and events. This library uses a much more efficient (lower resolution) method of testing system level event times as relativistic time differentials (vs. universal time differentials). Think larger chunked time measures (interval counts) instead of actual milliseconds. It's also great at managing the execution of events that require precise in-system synchronization.




chronoman - Utility class to simplify use of timers created by setTimeout

  •    Javascript

Utility class to simplify use of timers created by setTimeout. Use dist/chronoman.js or dist/chronoman.min.js (minified version).

virtual-clock - A small library for configurable, high-resolution, high-performance virtual clocks

  •    Javascript

This small and efficient library provides configurable virtual clocks for tracking time in for example simulations, games, media applications, or even just a simple stopwatch. Virtual clocks can be started and stopped, the rate at which time flows can be altered and even be made negative, causing time to flow backwards. Time can be limited by a minimum and maximum value, and when both a minimum and maximum are defined time may be set to loop around. Time listeners may be attached which will fire when a given (absolute) time on the clock is passed, without having to worry about adjusting timeouts for pauses, rate changes or other conditions.

worker-timers - A replacement for setInterval() and setTimeout() which works in unfocused windows.

  •    Javascript

A replacement for setInterval() and setTimeout() which works in unfocused windows. For scripts that rely on WindowTimers like setInterval() or setTimeout() things get confusing when the site which the script is running on loses focus. Chrome, Firefox and maybe others throttle the frequency of firing those timers to a maximum of once per second in such a situation. However this is only true for the main thread and does not affect the behavior of Web Workers. Therefore it is possible to avoid the throttling by using a worker to do the actual scheduling. This is exactly what WorkerTimers do.

react-timers - A react setInterval/setTimeout mixin for mere mortals

  •    Javascript

A react setInterval/setTimeout mixin for mere mortals. Any intervals that are set are automatically cleared based on the component life cycle. WARNING: If you are performing an async action, you should still check if the component is mounted.