| 
 | Groovy JDK | |||||||||
| Method Summary | |
|---|---|
| TimerTask | runAfter(int delay, Closure closure)Allows a simple syntax for using timers. | 
| Method Detail | 
|---|
public TimerTask runAfter(int delay, Closure closure)
delay -    the delay in milliseconds before running the closure code.closure -  the closure to invoke.| 
 | Groovy JDK | |||||||||