updatingLine

fun updatingLine(period: Duration, updater: suspend () -> Component)(source)

Adds a line where the content is updated periodically.

Parameters

period

the delay duration between each call to updater

updater

the callback which is executed each time to get the content of the line