toggle menu
modelix.core
8.16.0
common
switch theme
search in API
bulk-model-sync-lib
/
org.modelix.model.sync.bulk
/
ProgressReporter
Progress
Reporter
class
ProgressReporter
(
total
:
ULong
,
logger
:
KLogger
,
print
:
(
line
:
String
)
->
Unit
=
::println
,
isTty
:
(
)
->
Boolean
=
::isTty
)
Members
Constructors
Progress
Reporter
Link copied to clipboard
constructor
(
total
:
ULong
,
logger
:
KLogger
,
print
:
(
line
:
String
)
->
Unit
=
::println
,
isTty
:
(
)
->
Boolean
=
::isTty
)
Functions
step
Link copied to clipboard
fun
step
(
current
:
ULong
)
Increments the progress. This function is assumed to be called for every element that's processed.