[ Index ]

PHP Cross Reference of DokuWiki




/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: 1 time
Includes or requires: 0 files

Defines 1 function


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”.