TransformStream: readable property

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

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 Standard
# ref-for-ts-readable②

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobileserver
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
Deno
Node.js
readable

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support