MCPcopy
hub / github.com/meteor/meteor / reportProgress

Method reportProgress

tools/console/progress.ts:141–150  ·  view source on GitHub ↗
(state: ProgressState)

Source from the content-addressed store, hash-verified

139
140 // Receives a state report indicating progress of self
141 reportProgress(state: ProgressState) {
142 this.selfState = state;
143
144 this.updateTotalState();
145
146 // Nudge the spinner/progress bar, but don't yield (might not be safe to yield)
147 require('./console.js').Console.nudge(false);
148
149 this.notifyState();
150 }
151
152 // Subscribes a watcher to changes
153 addWatcher(watcher: ProgressWatcher) {

Callers 7

reportProgressDoneMethod · 0.95
http-helpers.jsFile · 0.80
reportProgressFunction · 0.80
updateProgressFunction · 0.80
_updateServerPackageDataFunction · 0.80
getSomeDataFunction · 0.80

Calls 3

updateTotalStateMethod · 0.95
notifyStateMethod · 0.95
nudgeMethod · 0.80

Tested by

no test coverage detected