internal.setDefaultHighWaterMark - Node documentation
function internal.setDefaultHighWaterMark

Usage in Deno

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

Sets the default highWaterMark used by streams.

Parameters

objectMode: boolean
value: number

highWaterMark value

Return Type

void