Table of Contents

Class CountQueuingStrategy

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The CountQueuingStrategy interface of the Streams API provides a built-in chunk counting queuing strategy that can be used when constructing streams.

[Value("CountQueuingStrategy")]
public class CountQueuingStrategy
Inheritance
CountQueuingStrategy
Inherited Members

Remarks

-{{domxref("Streams API", "Streams API", "", "nocode")}}
-CountQueuingStrategy(QueuingStrategyInit) constructor
-Internal queues and queuing strategies

See also on MDN

Constructors

CountQueuingStrategy()

public CountQueuingStrategy()

CountQueuingStrategy(QueuingStrategyInit)

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

public CountQueuingStrategy(QueuingStrategyInit init)

Parameters

init QueuingStrategyInit

Remarks

Properties

HighWaterMark

The read-only CountQueuingStrategy.highWaterMark property returns the total number of chunks that can be contained in the internal queue before backpressure is applied.

[Value("highWaterMark")]
public double HighWaterMark { get; }

Property Value

double

An integer representing a number of chunks.

Remarks

Size

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

[Value("size")]
public Function Size { get; }

Property Value

Function

1.

Remarks