Skip to main content
Go to Latest
interface ReadableStream
implements EventEmitter
import { type ReadableStream } from "https://deno.land/std@0.139.0/node/_global.d.ts";

Properties

readable: boolean

Methods

read(size?: number): string | Buffer
setEncoding(encoding: BufferEncoding): this
pause(): this
resume(): this
isPaused(): boolean
pipe<T extends WritableStream>(destination: T, options?: { end?: boolean | undefined; }): T
unpipe(destination?: WritableStream): this
unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void
wrap(oldStream: ReadableStream): this
[[Symbol.asyncIterator]](): AsyncIterableIterator<string | Buffer>