timerTask

inline fun timerTask(crossinline action: TimerTask.() -> Unit): TimerTask(source)

Wraps the specified action in a TimerTask.

Since Kotlin

1.0