TransformStream: readable プロパティ

readableTransformStream インターフェイスの読み取り専用プロパティで、この TransformStream が制御する ReadableStream インスタンスを返します。

ReadableStream です。

次の例は、新しい TransformStreamtextEncoderStream として作成し、 readable の値をコンソールに出力します。

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

仕様書

Specification
Streams
# ref-for-ts-readable②

ブラウザーの互換性

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