import { Readable } from "https://deno.land/std@0.82.0/node/stream.ts";
Methods
_destroy(error: Error | null, callback: (error?: Error | null) => void): void
_read(_size?: number)
destroy(err?: Error | null, cb?: () => void)
isPaused()
on(event: , listener: () => void): this
| "close"
| "end"
| "pause"
| "readable"
| "resume"
on(event: "data", listener: (chunk: any) => void): this
on(event: "error", listener: (err: Error) => void): this
on(event: string | symbol, listener: (...args: any[]) => void): this
pause()
pipe<T extends Duplex | Writable>(dest: T, pipeOpts?: { end?: boolean; }): T
push(chunk: any, encoding?: Encodings): boolean
read(n?: number)
removeAllListeners(ev: )
| "close"
| "data"
| "end"
| "error"
| "pause"
| "readable"
| "resume"
| symbol
| undefined
removeListener(event: , listener: () => void): this
| "close"
| "end"
| "pause"
| "readable"
| "resume"
removeListener(event: "data", listener: (chunk: any) => void): this
removeListener(event: "error", listener: (err: Error) => void): this
removeListener(event: string | symbol, listener: (...args: any[]) => void): this
resume()
setEncoding(enc: Encodings)
unpipe(dest?: Writable): this
unshift(chunk: any, encoding?: string): boolean
wrap(stream: Stream): this
Wrap an old-style stream as the async data source.
[captureRejectionSymbol](err: Error)
Static Methods
from(iterable: Iterable<any> | AsyncIterable<any>, opts?: ReadableOptions): Readable