Skip to content
kerrishotts edited this page Nov 13, 2012 · 1 revision

(part of PKUTIL)

Return Type: timeout ID

Parameters: theDelay ( number ), theFunction ( function )

Executes theFunction after the number of milliseconds specified by theDelay unless cancelled beforehand.

For example:

PKUTIL.delay (100, doSomething);
PKUTIL.delay (500, function() { console.log(1); } );

Version

0.1 Introduced

0.2 Docs Valid

Clone this wiki locally