CountQueuingStrategy

interface

interface CountQueuingStrategy extends QueuingStrategy

This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams.

variable

var CountQueuingStrategy: { … }

The constructor object for CountQueuingStrategy, used to create a queuing strategy that counts each chunk as a single unit toward the stream's high water mark.

Constructors

constructor

new CountQueuingStrategy(init: QueuingStrategyInit): CountQueuingStrategy

Properties

highWaterMark

readonly highWaterMark: number

size

readonly size: QueuingStrategySize

prototype

readonly prototype: CountQueuingStrategy