Liking cljdoc? Tell your friends :D
ClojureScript only.

web.streams.CountQueuingStrategy

The CountQueuingStrategy interface of the the Streams API provides built-in byte length queuing strategy that can be used when constructing

The CountQueuingStrategy interface of the the Streams API provides
built-in byte length queuing strategy that can be used when constructing
raw docstring

constructorcljs

(constructor & args)

Constructor.

The CountQueuingStrategy() constructor creates and returns a CountQueuingStrategy() object instance.

{highWaterMark} An object containing a highWaterMark property. This is a non-negative integer defining the total number of chunks that can be contained in the internal queue before backpressure is applied.

See also: https://developer.mozilla.org/en-US/docs/Web/API/CountQueuingStrategy/CountQueuingStrategy

Constructor.

The CountQueuingStrategy() constructor creates and returns a CountQueuingStrategy() object instance.

{highWaterMark}
An object containing a highWaterMark property. This is a non-negative integer defining the total number of chunks that can be contained in the internal queue before backpressure is applied.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/CountQueuingStrategy/CountQueuingStrategy`
sourceraw docstring

sizecljs

(size this)

Method.

[Draft] [Experimental]

The size() method of the web.streams.CountQueuingStrategy interface returns 1, so that the total queue size is a count of the number chunks in the queue.

var size = countQueuingStrategyInstance.size();

See also: https://developer.mozilla.org/en-US/docs/Web/API/CountQueuingStrategy/size

Method.

[Draft]
[Experimental]

The size() method of the `web.streams.CountQueuingStrategy` interface
returns 1, so that the total queue size is a count of the number
chunks in the queue.

`var size = countQueuingStrategyInstance.size();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/CountQueuingStrategy/size`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close