TextEncoderStream: readable プロパティ

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.

We’d love to hear your thoughts on the next set of proposals for the JavaScript language. You can find a description of the proposals here.
Please take two minutes to fill out our short survey.

readableTextEncoderStream インターフェイスの読み取り専用プロパティで、ReadableStream を返します。

ReadableStream です。

次の例は、ReadableStreamTextEncoderStream オブジェクトから返す方法を示しています。

js
stream = new TextEncoderStream();
console.log(stream.readable); // ReadableStream

仕様書

Specification
Streams
# dom-generictransformstream-readable

ブラウザーの互換性