Table of Contents

Timer.delayedCall

Available since version: Gideros 2011.6

Description:

Provides a simple way to call a function after a set amount of time. This function returns the
Timer object created inside.

Syntax:

(Timer) = Timer.delayedCall(delay, func [, data])

Parameters:

  • delay: (number) Delay in miliseconds before the function is called
  • func: (function) Function to call
  • data: An optional data parameter that is passed as a first argument to the function

Return value:

  • Timer: The `Timer` object