MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / convertQueuingStrategyInit

Function convertQueuingStrategyInit

out/cli.cjs:14185–14192  ·  view source on GitHub ↗
(init, context)

Source from the content-addressed store, hash-verified

14183 return new TypeError(`ReadableStream.prototype.${name} can only be used on a ReadableStream`);
14184 }
14185 function convertQueuingStrategyInit(init, context) {
14186 assertDictionary(init, context);
14187 const highWaterMark = init === null || init === void 0 ? void 0 : init.highWaterMark;
14188 assertRequiredField(highWaterMark, "highWaterMark", "QueuingStrategyInit");
14189 return {
14190 highWaterMark: convertUnrestrictedDouble(highWaterMark)
14191 };
14192 }
14193 const byteLengthSizeFunction = (chunk) => {
14194 return chunk.byteLength;
14195 };

Callers 2

constructorMethod · 0.85
constructorMethod · 0.85

Calls 3

assertDictionaryFunction · 0.85
assertRequiredFieldFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…