MCPcopy
hub / github.com/meteor/meteor / reportProgressDone

Method reportProgressDone

tools/console/progress.ts:48–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46 }
47
48 reportProgressDone() {
49 const state = {
50 ...this.selfState,
51 done: true,
52 };
53
54 if (typeof state.end !== 'undefined') {
55 if (state.current > state.end) {
56 state.end = state.current;
57 }
58 state.current = state.end;
59 }
60
61 this.reportProgress(state);
62 }
63
64 // Tries to determine which is the 'current' job in the tree
65 // This is very heuristical... we use some hints, like:

Callers 4

http-helpers.jsFile · 0.80
reportProgressDoneFunction · 0.80
captureFunction · 0.80
enterJobFunction · 0.80

Calls 1

reportProgressMethod · 0.95

Tested by

no test coverage detected