internal.StreamOptions - Node documentation
interface internal.StreamOptions
extends Abortable

Usage in Deno

import { type internal } from "node:stream";
type { StreamOptions } = internal;

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