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

Usage

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

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