Skip to main content
Deno 2 is finally 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.116.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