window.CountQueuingStrategy
See: Web APIs - CountQueuingStrategy
CountQueuingStrategy(init)
Creates a new CountQueuingStrategy object with the provided high water mark.
Returns: CountQueuingStrategy
Param
Type
Description
init
ObjectObject with high water mark property.
init.highWaterMark
numberThe total number of chunks that can be contained in the internal queue before backpressure is applied.
highWaterMark : number
The high water mark.
size()
The size of chunk, always 1.