MCPcopy Index your code
hub / github.com/meteor/meteor / addChildTask

Method addChildTask

tools/console/progress.ts:106–115  ·  view source on GitHub ↗
(options: ProgressOptions)

Source from the content-addressed store, hash-verified

104
105 // Creates a subtask that must be completed as part of this (bigger) task
106 addChildTask(options: ProgressOptions) {
107 options = {
108 parent: this,
109 ...options,
110 };
111 const child = new Progress(options);
112 this.allTasks.push(child);
113 this.reportChildState();
114 return child;
115 }
116
117 // Dumps the tree, for debug
118 dump(

Callers 3

attemptFunction · 0.80
addChildTrackerFunction · 0.80
enterJobFunction · 0.80

Calls 1

reportChildStateMethod · 0.95

Tested by

no test coverage detected