Skip to main content
default.StreamOptions - node__stream.d.ts - Node documentation
interface default.StreamOptions
extends Abortable

Usage in Deno

```typescript import mod from "node:node__stream.d.ts"; ```

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