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

Usage in Deno

import { internal } 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
Back to top