setInterval(function, interval)
Arguments
function: The function to be repeated called every interval milliseconds. The function can optionally take 1 argument which is the timer ID.interval: interval in milliseconds.
Returns
The timer ID. This is a string. Pass this to KumoApp.stopTimer to stop the timer.Remarks
You cannot assign new event handlers inside the timeout handler (e.g. you cannot do <#tag#>.opened=function(){/*something*/}; if <#tag#>.opened has not been assigned before.)The changes made to external global variables inside the timeout handler will be saved and loaded the next time the App executes (e.g. when an event handler is called.)