MCPcopy Create free account
hub / github.com/bevyengine/bevy-website / ExtractSizeAlgorithm

Function ExtractSizeAlgorithm

static/web-streams-polyfill-3.2.1.mjs:1536–1542  ·  view source on GitHub ↗
(strategy)

Source from the content-addressed store, hash-verified

1534 return highWaterMark;
1535}
1536function ExtractSizeAlgorithm(strategy) {
1537 const { size } = strategy;
1538 if (!size) {
1539 return () => 1;
1540 }
1541 return size;
1542}
1543
1544function convertQueuingStrategy(init, context) {
1545 assertDictionary(init, context);

Callers 3

constructorMethod · 0.85
constructorMethod · 0.85
constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected