Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface ReadableOptions
import { type ReadableOptions } from "https://deno.land/std@0.111.0/node/_stream/readable.ts";

Properties

optional
autoDestroy: boolean
optional
defaultEncoding: Encodings
optional
emitClose: boolean
optional
encoding: Encodings
optional
highWaterMark: number
optional
objectMode: boolean

Methods

optional
destroy(
this: Readable,
error: Error | null,
callback: (error: Error | null) => void,
): void
optional
read(this: Readable, size?: number): void