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

Method setProgress

deps/v8/tools/js/web-api-helper.mjs:101–104  ·  view source on GitHub ↗
(progress, processedBytes = 0)

Source from the content-addressed store, hash-verified

99 }
100
101 setProgress(progress, processedBytes = 0) {
102 this.progress = Math.max(0, Math.min(progress, 1));
103 this.processedBytes = processedBytes;
104 }
105
106 updateProgressBar() {
107 // Create a circular progress bar, starting at 12 o'clock.

Callers 1

readFileMethod · 0.95

Calls 2

maxMethod · 0.45
minMethod · 0.45

Tested by

no test coverage detected