1. Web
  2. Web APIs
  3. TransformStream
  4. readable

TransformStream: readable property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨June 2022⁩.

Note: This feature is available in Web Workers.

The readable read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.

Value

A ReadableStream.

Examples

The following example creates a new TransformStream as textEncoderStream, and prints the value of readable to the console.

js
const textEncoderStream = new TransformStream();
console.log(textEncoderStream.readable); // a ReadableStream

Specifications

Specification
Streams
# ref-for-ts-readable2

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.

AltStyle によって変換されたページ (->オリジナル) /