(options: ProgressOptions)
| 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( |
no test coverage detected