CountQueuingStrategy
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2501
This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams.
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CountQueuingStrategy(
init
):CountQueuingStrategy
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2502
Parameters
Section titled “Parameters”Returns
Section titled “Returns”CountQueuingStrategy
Accessors
Section titled “Accessors”highWaterMark
Section titled “highWaterMark”Get Signature
Section titled “Get Signature”get highWaterMark():
number
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2504
Returns
Section titled “Returns”number
Implementation of
Section titled “Implementation of”Get Signature
Section titled “Get Signature”get size(): (
chunk?
) =>number
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2506
Returns
Section titled “Returns”(
chunk?
):number
Parameters
Section titled “Parameters”chunk?
Section titled “chunk?”any
Returns
Section titled “Returns”number