TextEncoderStream.readable

TextEncoderStream 接口的只读属性 readable 返回一个 ReadableStream

一个 ReadableStream

示例

以下示例演示了如何从一个 TextEncoderStream 对象返回一个 ReadableStream

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

规范

Specification
Streams Standard
# dom-generictransformstream-readable

浏览器兼容性

BCD tables only load in the browser