Материал из Module developer
module.SetTimeout
Refering to a function with delay
Синтаксис
module.SetTimeout(Delay, Function, [This])
| Название | Пример | Описание |
| Delay | 1000 | type: number Delay (in miliseconds) |
| Function | function(){...} | type: Function An Unnamed function or a link to a named function where actions are performed |
| This | type: Object УPointer to an object, that services the function (optional) |
| На выходе |
| Number | 1 | type: Number Interval ID |
Пример
var Timeout = module.SetTimeout(1000, function(){ IR.Log("Hello, world!"); });
