fixedRateTimer
Creates a timer that executes the specified action periodically, starting after the specified initialDelay (expressed in milliseconds) and with the interval of period milliseconds between the start of the previous task and the start of the next one.
Since Kotlin
1.0Parameters
the name to use for the thread which is running the timer.
if true
, the thread is started as a daemon thread (the VM will exit when only daemon threads are running).
Creates a timer that executes the specified action periodically, starting at the specified startAt date and with the interval of period milliseconds between the start of the previous task and the start of the next one.
Since Kotlin
1.0Parameters
the name to use for the thread which is running the timer.
if true
, the thread is started as a daemon thread (the VM will exit when only daemon threads are running).