Skip to content

Instantly share code, notes, and snippets.

@jeanbenitez
Created July 12, 2020 19:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeanbenitez/e3274001388df5a61add78a17b630003 to your computer and use it in GitHub Desktop.
Save jeanbenitez/e3274001388df5a61add78a17b630003 to your computer and use it in GitHub Desktop.
setTimeout in BrightScript
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