Timeouts and idle functions

    Timeouts

    Using the following function you can create a timeout function that will be called every _interval_ milliseconds.

    Idle functions

    What if you have a function which you want to be called when nothing else is happening?

comments powered by Disqus