ReadableStream Projects .

Technology

ReadableStream

The Streams API interface for reading data chunks sequentially and asynchronously.

ReadableStream is a core component of the Web Streams API: it represents a source of streaming data. This object allows consumers to process data in small, manageable chunks as they arrive, rather than waiting for the complete payload (e.g., a 500MB file). You acquire an instance via sources like the Fetch API (`Response.body`) or by constructing a custom stream. Consumers use the `getReader()` method to lock the stream and access a reader (like `ReadableStreamDefaultReader`). The stream supports powerful operations: use `pipeTo()` to efficiently transfer data to a `WritableStream`, or use `tee()` to split the stream into two identical, independent branches for concurrent processing.

https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream
1 project · 1 city

Related technologies

Recent Talks & Demos

Showing 1-1 of 1

Members-Only

Sign in to see who built these projects