MCPcopy Create free account
hub / github.com/di-sukharev/opencommit / progressEventDecorator

Function progressEventDecorator

out/cli.cjs:72697–72704  ·  view source on GitHub ↗
(total, throttled)

Source from the content-addressed store, hash-verified

72695 estimated: rate && total && inRange ? (total - loaded) / rate : void 0,
72696 event: e3,
72697 lengthComputable: total != null,
72698 [isDownloadStream ? "download" : "upload"]: true
72699 };
72700 listener(data);
72701 }, freq);
72702};
72703var progressEventDecorator = (total, throttled) => {
72704 const lengthComputable = total != null;
72705 return [(loaded) => throttled[0]({
72706 lengthComputable,
72707 total,

Callers 1

cli.cjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected