Liking cljdoc? Tell your friends :D
ClojureScript only.

web.streams.ByteLengthQueuingStrategy

The ByteLengthQueuingStrategy interface of the the Streams API a built-in byte length queuing strategy that can be used when streams.

The ByteLengthQueuingStrategy interface of the the Streams API
a built-in byte length queuing strategy that can be used when
streams.
raw docstring

constructorcljs

(constructor & args)

Constructor.

The ByteLengthQueuingStrategy() constructor creates and returns a ByteLengthQueuingStrategy() 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/ByteLengthQueuingStrategy/ByteLengthQueuingStrategy

Constructor.

The ByteLengthQueuingStrategy() constructor creates and returns a ByteLengthQueuingStrategy() 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/ByteLengthQueuingStrategy/ByteLengthQueuingStrategy`
sourceraw docstring

sizecljs

(size this chunk)

Method.

[Draft] [Experimental]

The size() method of the ByteLengthQueueingStrategy interface the given chunk’s byteLength property.

var size = byteLengthQueuingStrategyInstance.size(chunk);

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

Method.

[Draft]
[Experimental]

The size() method of the `ByteLengthQueueingStrategy` interface
the given chunk’s byteLength property.

`var size = byteLengthQueuingStrategyInstance.size(chunk);`

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

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

× close