ProgressMeter.estimatedTimeOfArrivalSecs

Compute estimated time of arrival (ETA) with a simple linear model.

const etaSecs = (totalTicks - numTicks)/ticksPerSec;
class ProgressMeter
alias estimatedTimeOfArrivalSecs = etaSecs

Return Value

Estimated time of arrival id hasETA; otherwise double.infinity.

Meta