kotlin.concurrent.fixedRateTimer

fixedRateTimer

inline fun fixedRateTimer(
    name: String? = null, 
    daemon: Boolean = false, 
    initialDelay: Long = 0.toLong(), 
    period: Long, 
    crossinline action: TimerTask.() -> Unit
): Timer

Platform and version requirements: JVM

Creates a timer that executes the specified action periodically, starting after the specified 登录查看完整内容