parabar icon indicating copy to clipboard operation
parabar copied to clipboard

progress bar tokens

Open MaximilianPi opened this issue 1 year ago • 3 comments

Hi @mihaiconstantin

just to clarify, there is currently no way to pass tokens from the workers to the progress, right?

with progress:

steps = 10
pb = progress::progress_bar$new(total = steps, format = ":percent :eta Testing... :number", clear = FALSE)
for(i in 1:steps) {
  #  print(i)
  Sys.sleep(0.1)
  pb$tick(tokens = list(number = i))
}

MaximilianPi avatar Jan 17 '24 11:01 MaximilianPi