Skip to main content
default.StreamOptions - stream - Node documentation
interface default.StreamOptions
extends Abortable

Usage in Deno

import mod from "node:stream";

Type Parameters

T extends Stream

Properties

optional
emitClose: boolean | undefined
optional
highWaterMark: number | undefined
optional
objectMode: boolean | undefined
optional
autoDestroy: boolean | undefined

Methods

optional
construct(
this: T,
callback: (error?: Error | null) => void,
): void
optional
destroy(
this: T,
error: Error | null,
callback: (error?: Error | null) => void,
): void