Skip to main content
ReadableStream.from - stream/web - Node documentation
method ReadableStream.from

Usage in Deno

import { ReadableStream } from "node:stream/web";
ReadableStream.from<T>(iterable: Iterable<T> | AsyncIterable<T>): ReadableStream<T>

Type Parameters

T

Parameters

iterable: Iterable<T> | AsyncIterable<T>

Return Type

Back to top