Skip to main content

Module progress

Module progress 

Source
Expand description

Minimal internal progress abstraction for Export/Import V2.

This is intentionally small and log/internal oriented. It does not touch stdout and is safe for non-interactive runs. A TTY progress bar (e.g. indicatif) and a --progress CLI flag are deliberately out of scope; they can layer on top of this trait later without changing call sites.

Structsยง

NoopProgress ๐Ÿ”’
A reporter that discards every event. Used as the production default and in tests that do not care about progress.
ProgressPhase ๐Ÿ”’
RAII guard for a started progress phase.

Traitsยง

ProgressReporter ๐Ÿ”’
Receives progress events from long-running Export/Import V2 work.