WHATWG Streams

ReadableStream, WritableStream, TransformStream, and their readers, writers, and strategies.

ReadableStream, WritableStream, TransformStream, their readers, writers, and controllers, CountQueuingStrategy, and ByteLengthQueuingStrategy are globals. They follow the Streams Standard, including byte streams, BYOB readers, and ReadableStream.from().

Differences from browsers

  • A stream cannot be transferred to a worker: naming one in a postMessage transfer list throws DataCloneError.

For byte transforms, see Compression Streams.