[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/lib/scripts/ -> delay.js (summary)

Manage delayed and timed actions

Author: Adrian Lang
License: GPL2 (http://www.gnu.org/licenses/gpl.html)
File Size: 70 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 function

  Delay()

Functions
Functions that are not part of a class:

Delay(func, timeout)   X-Ref
Provide a delayed start

To call a function with a delay, just create a new Delay(func, timeout) and
call that object’s method “start”.