liveBook · Manning

Web Streams

Web Streams is a web platform standard API for asynchronously creating, consuming, and transforming data incrementally through stream objects.

How 2 Manning books explain it

JavaScript in Depth

The standardized web-platform API for incrementally reading, writing, and transforming data through stream objects.

How it is used
Provides portable, incremental data pipelines for web-platform sources such as fetch().
How deep it goes
Explains pull scheduling, queue limits, push-source adapters, error propagation, and measured costs without prescribing a runtime’s internal allocation strategy.
Examples
Uses an event-feed adapter that pauses and resumes production, plus a Node.js v24 measurement of promises allocated per chunk.
What you can do after
Build it from scratch by adapting a push feed with desiredSize checks, pull()-driven resumption, and cancel() cleanup.

Read how JavaScript in Depth explains Web Streams →

Secrets of the JavaScript Ninja, Third Edition

The Web Streams API is a web platform standard for creating and consuming streams of data asynchronously.

How it is used
Uses Web Streams to consume fetched response chunks and create asynchronous readable data sources.
How deep it goes
Explains stream creation, enqueueing, internal queuing, reading, and closing.
Examples
Demonstrates delayed word-by-word HTTP text and a custom stream of ninja names.
What you can do after
Build and consume a ReadableStream by enqueueing values and iterating asynchronously.

Read how Secrets of the JavaScript Ninja, Third Edition explains Web Streams →

What to know first

Related concepts

Questions about Web Streams

What is Web Streams?

Web Streams is a web platform standard API for asynchronously creating, consuming, and transforming data incrementally through stream objects.

Which Manning books explain Web Streams?

JavaScript in Depth and Secrets of the JavaScript Ninja, Third Edition.

What should I know before learning Web Streams?

Manning books that teach Web Streams usually introduce stream processing first.

What is the difference between Web Streams and stream processing?

Web Streams is a web platform standard API for asynchronously creating, consuming, and transforming data incrementally through stream objects. Stream processing is the incremental processing of data items as they become available, without requiring the complete dataset to be present first.

What is Web Streams part of?

Web Streams is part of ReadableStream. ReadableStream is a Web Streams API interface representing a source of data that can be read incrementally.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.