Created
July 12, 2020 19:43
-
-
Save jeanbenitez/e3274001388df5a61add78a17b630003 to your computer and use it in GitHub Desktop.
setTimeout in BrightScript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function setTimeout(funcName as string, timerConf as object) | |
timer = m.top.createChild("Timer") | |
timer.update(timerConf) | |
timer.ObserveField("fire", funcName) | |
timer.control = "start" | |
return timer | |
end function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment