ProgressCallback typedef

ProgressCallback = void Function(int completed, int total)

Reports capture progress: completed of total frames are written.

Called once per frame after it is appended (a cache hit counts too), so the count rises monotonically from 1 to total. Purely observational — it is driven by the deterministic frame loop, reads no wall-clock, and never affects a frame's bytes.

Implementation

typedef ProgressCallback = void Function(int completed, int total);