ReadableStream.from()
Limited availability
The ReadableStream.from()
static method converts an iterable or async iterable object, such as an array or async generator function, into a readable stream.
Learning resources on MDN
Browser support
- Chrome ❌
- Chrome Android ❌
- Edge ❌
- Firefox 117 Released on 2023-08-29
- Firefox for Android 117 Released on 2023-08-29
- Safari ❌
- Safari on iOS ❌
Specifications
- Streams (#rs-from), from Streams Workstream (WHATWG).
View web-platform-tests results for this feature - View the feature source file (dist) - Edit the feature - Report an issue about this feature