projects
/
smartthings-infrastructure.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
ce056e33c3ce0b393b84ff047ef28b4c89f9af2c
[smartthings-infrastructure.git]
/
Methods
/
runIn.groovy
1
/////////////////////////////////////////////////////////////////////
2
////runIn(time, func)
3
def runIn(int seconds, Closure Input) {
4
ListofTimersFunc.add(Input)
5
ListofTimers.add(new Timer())
6
def task = ListofTimers[-1].runAfter(1000*seconds, Input)
7
}