Skip to main content
QueuingStrategyInit.highWaterMark - stream/web - Node documentation
property QueuingStrategyInit.highWaterMark

Usage in Deno

import { type QueuingStrategyInit } from "node:stream/web";

Creates a new ByteLengthQueuingStrategy with the provided high water mark.

Note that the provided high water mark will not be validated ahead of time. Instead, if it is negative, NaN, or not a number, the resulting ByteLengthQueuingStrategy will cause the corresponding stream constructor to throw.

Type

number