ReadableStream

A browser object that delivers data in chunks as it arrives, such as a fetch response.body, instead of all at once at the end.

In more detail

Call getReader() and loop on await reader.read() until done is true, handling each chunk as it comes. Streaming shows the first content sooner and never needs the whole response in memory.

Related terms

Taught in

References