Method
_doProgress
(
progress: TaskProgressCallback<Ctx>,
start: number,
end: number,
modBy: number,
modDataCount: number
)
Source from the content-addressed store, hash-verified
| 256 | } |
| 257 | |
| 258 | private _doProgress( |
| 259 | progress: TaskProgressCallback<Ctx>, |
| 260 | start: number, |
| 261 | end: number, |
| 262 | modBy: number, |
| 263 | modDataCount: number |
| 264 | ): void { |
| 265 | iterator.reset(start, end, modBy, modDataCount); |
| 266 | this._callingProgress = progress; |
| 267 | this._callingProgress({ |
| 268 | start: start, end: end, count: end - start, next: iterator.next |
| 269 | }, this.context); |
| 270 | } |
| 271 | |
| 272 | private _doReset(skip: boolean): boolean { |
| 273 | this._dueIndex = this._outputDueEnd = this._dueEnd = 0; |
Tested by
no test coverage detected