Timer.delayedCall

From GiderosMobile
Revision as of 11:05, 23 August 2018 by Hgy29 (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Provides a simple way to call a function after a set amount of time. This function returns the<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: 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.

(Timer), = Timer.delayedCall(delayfuncdata,)

'delay: (number) Delay in miliseconds before the function is called '
'func: (function) Function to call '
data: (any) An optional data parameter that is passed as a first argument to the function optional
Returns (Timer) The `Timer` object