ReadableBase.from - Node documentation
method ReadableBase.from

Usage in Deno

import { ReadableBase } from "node:stream";
ReadableBase.from(
iterable: Iterable<any> | AsyncIterable<any>,
options?: ReadableOptions,
): Readable

A utility method for creating Readable Streams out of iterators.

Parameters

iterable: Iterable<any> | AsyncIterable<any>
optional
options: ReadableOptions

Return Type

Readable