CountQueuingStrategy extension type

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


API documentation sourced from MDN Web Docs.

on
Implemented types
Available extensions

Constructors

CountQueuingStrategy(QueuingStrategyInit init)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
highWaterMark double
The read-only CountQueuingStrategy.highWaterMark property returns the total number of chunks that can be contained in the internal queue before backpressure is applied.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size JSFunction
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.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited