ProgressReporter

class ProgressReporter(total: ULong, logger: KLogger, print: (line: String) -> Unit = ::println, isTty: () -> Boolean = ::isTty)

Constructors

Link copied to clipboard
constructor(total: ULong, logger: KLogger, print: (line: String) -> Unit = ::println, isTty: () -> Boolean = ::isTty)

Functions

Link copied to clipboard
fun step(current: ULong)

Increments the progress. This function is assumed to be called for every element that's processed.