fun <T> progress(total: Int, action: ProgressIndicator.() -> T): Tfun <T> progress(total: Long, action: ProgressIndicator.() -> T): T
Show asynchronous progress indicator with percentage while performing some action.
fun <T> progress(action: ProgressIndicator.() -> T): T