TimeOut Packages

typed-loop

A loop class to enable flexible intervals for visual experiments and games. It provides delta time in various formats and uses `requestAnimationFrame` for the timeouts. It's possible to use `setTimeout` with given `targetDeltaTime`.

1.0.4 • Published 5 years ago

@brycemarshall/pulse

A function that starts an asynchronous pulse sequence which invokes a handler function at the specified interval until either the specified duration has elapsed, or the sequence is cancelled. This is the ES2017 Build.

3.0.0 • Published 8 years ago

@brycemarshall/sleep

A function that causes the current execution context to be suspended (thereby surrendering execution to any scheduled background tasks such as timeout, interval, and immediate events) for the specified duration. This is the ES2017 build.

3.0.0 • Published 8 years ago

@brycemarshall/timeout

A Promise implementation that supports automatic timeout rejection, and an asynchronouse function that starts an asynchronous timeout sequence which continues for a specified duration or until it is cancelled. This is the ES2017 build.

3.0.1 • Published 8 years ago