Moscrif API Docs for: 2012q3
Show:

Delay Class

include "lib://core/delay.ms";
Library: core

Item Index

Methods

Methods

run

(
  • delay
  • fun
)
static

Parameters:

  • delay Integer

    Delay interval in miliseconds

  • fun Function

    The function to be executed

Example:

Delay.run(1500, function() {
    logI("I have been delayed...");
});