deno / latest / ~ / countqueuingstrategy.html

CountQueuingStrategy

This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams.

interface CountQueuingStrategy  extends QueuingStrategy {
    
highWaterMark: number;
size(chunk: any): 1;
}
var CountQueuingStrategy: {
      
prototype: CountQueuingStrategy;
new (options: {
highWaterMark: number;
}
): CountQueuingStrategy;
}
;

Extends

Properties

highWaterMark: number

Methods

size(chunk: any): 1