Skip to main content
internal.setDefaultHighWaterMark - stream - Node documentation
function internal.setDefaultHighWaterMark

Usage in Deno

import { internal } from "node:stream";
setDefaultHighWaterMark(
objectMode: boolean,
value: number,
): void

Sets the default highWaterMark used by streams.

Parameters

objectMode: boolean
value: number

highWaterMark value

Return Type

void