W3cubDocs

/Deno

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: {
new (options: {
highWaterMark: number;
}
): CountQueuingStrategy;
}
;

Extends

Properties

highWaterMark: number

Methods

size(chunk: any): 1