Closed klemmchr closed 4 years ago
Such an awesome feature, thank you for the PR!
Will try and make time to review this week and publish an update once merged
Revisiting this I think the property on IProgressBar
is sufficient enough, what do you reckon @chris579 ?
What do you exactly mean?
It would be great to get the estimated time feature in the main branch.
Dunno if @Mpdreamz is still active, my question is still unanswered.
@chris579 I had not been for a while.
Too long to still have the context for my original question. Checked this out locally, looks great! Merging this in (finally!)
Added an option to set an estimated duration for a progress bar. In some cases you are able to calculate the estimated duration for an task (e.g. downloads or uploads). This option is deactivated by default and can be set in the
ProgressBarOptions
. The estimated duration can be set by using the new overload of theTick
method or by setting theEstimatedDuration
property on the progress bar.