scheduleAtFixedRate

JVM
1.0
inline fun Timer.scheduleAtFixedRate(
    delay: Long,
    period: Long,
    crossinline action: TimerTask.() -> Unit
): TimerTask

Schedules an action to be executed periodically, starting after the specified delay (expressed in milliseconds) and with the interval of period milliseconds between the start of the previous task and the start of the next one.

JVM
1.0
inline fun Timer.scheduleAtFixedRate(
    time: Date,
    period: Long,
    crossinline action: TimerTask.() -> Unit
): TimerTask

Schedules an action to be executed periodically, starting at the specified time and with the interval of period milliseconds between the start of the previous task and the start of the next one.