lineChangingPeriodically
Deprecated
This function has been replaced with "updatingLine"
Replace with
import kotlin.time.Duration.Companion.milliseconds
Content copied to clipboard
updatingLine(period.milliseconds) { block() }
Content copied to clipboard
Adds a line where the content is changing / updating periodically.
Parameters
period
the period in milliseconds
block
the callback which is executed each time to get the content of the line