MCPcopy Index your code
hub / github.com/nodejs/node / _updateProgress

Method _updateProgress

deps/v8/tools/system-analyzer/processor.mjs:224–231  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

222 }
223
224 async _updateProgress() {
225 if (!this._progressCallback) return;
226 // We use chars and bytes interchangeably for simplicity. This causes us to
227 // slightly underestimate progress.
228 this._progressCallback(
229 this._processedInputChars / this._totalInputBytes,
230 this._processedInputChars);
231 }
232
233 async _processChunk(chunk) {
234 const prevProcessedInputChars = this._processedInputChars;

Callers 1

_processChunkMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected