Skip to content

Wappworks/reliabletimerjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LOGOReliableTimerJs

The better windows.setTimeout()

Introduction

ReliableTimerJs addresses the shortcomings of windows.setTimeout(). Its advantages are:

  • It preserves the timer callback’s order-of-execution, first by the execution time, and second by the order in which it’s invoked.
  • Callers can specify the timer callback’s execution context as well as the function parameters when scheduling the callback.

A more thorough description of windows.setTimeout() problems is found here.

Usage

A demo is available at jsFiddle.

License

ReliableTimerJs is released under the MIT license.

About

A Javascript timer library which addresses shortcomings in windows.setTimeout()

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published