Create a ReadableStream from an iterable
The iterable or async iterable to convert to a stream
A ReadableStream that emits items from the iterable
const stream = fromIterable([1, 2, 3]);// orconst stream = fromIterable(asyncGenerator()); Copy
const stream = fromIterable([1, 2, 3]);// orconst stream = fromIterable(asyncGenerator());
Create a ReadableStream from an iterable