Skip to main content

Module ProgressReport

Module ProgressReport 

Source
Expand description

Cocoon โ†’ Mountain progress.report notification. Fires on every Progress.report({ message, increment }) callback within a vscode.window.withProgress(...) run. The git extension alone fires 6000+ of these per session during repository scans; emitting one Tauri event per call saturates the WKWebView IPC channel that also delivers keystrokes. Each event is coalesced into a 16ms (one frame) window per Progress handle, accumulating increment deltas and keeping the most recent non-empty message. Sky sees one update per frame per progress operation instead of dozens, with the same final cumulative state.

Structsยง

ProgressAccumulator ๐Ÿ”’
ProgressEmitBatch ๐Ÿ”’

Staticsยง

PROGRESS_EMIT_BATCH ๐Ÿ”’

Functionsยง

EnqueueProgressEmit ๐Ÿ”’
ProgressReport