Dispose hook so using syntax closes the bar on scope exit.
Close the bar and emit final timing.
Advance the bar by n ticks.
Optionaln: numberNumber of ticks to advance (default 1).
Set the bar's absolute progress. Clamped to [0, total]. Suppresses
a barTick event when the value is unchanged.
Absolute progress value.
Determinate progress bar handle. Closed explicitly via
end(), or implicitly when an enclosing Group'send()(or a Logger.unwindAll) pops it as part of cleanup.Carries a
[Symbol.dispose]slot directly (rather than extending the built-inDisposablelib type) so the published.d.tsstays free of any reference to theDisposableinterface.Symbol.disposeitself is still a TS 5.2+ /esnext.disposable(ores2024.disposable) lib symbol, so consumers compiling against these declarations need that lib enabled (orskipLibCheck: true). Callers on TS 5.2+ / Node 20+ can adoptusing bar = logger.bar(...)becauseusingonly requires the[Symbol.dispose]shape structurally.