Skip to main content
QueuingStrategyInit - stream/web - Node documentation
interface QueuingStrategyInit

Usage in Deno

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

Properties

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.