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.
class ReadableState
import { ReadableState } from "https://deno.land/std@0.103.0/node/_stream/readable.ts";

Constructors

new
ReadableState(options?: ReadableOptions)

Properties

autoDestroy: boolean
awaitDrainWriters:
| Set<Duplex | Writable>
| null
buffer: BufferList
closed: boolean
closeEmitted: boolean
constructed: boolean
decoder: StringDecoder | null
defaultEncoding: string
destroyed: boolean
emitClose: boolean
emittedReadable: boolean
encoding: Encodings | null
ended: boolean
endEmitted: boolean
errored: Error | null
errorEmitted: boolean
flowing: boolean | null
highWaterMark: number
length: number
multiAwaitDrain: boolean
needReadable: boolean
objectMode: boolean
pipes: Array<Duplex | Writable>
readable: boolean
readableListening: boolean
reading: boolean
readingMore: boolean
resumeScheduled: boolean
sync: boolean
[kPaused]: boolean | null