TextDecoderStream: readable property

The readable read-only property of the TextDecoderStream interface returns a ReadableStream.

Value

Examples

This example shows how to return a ReadableStream from a TextDecoderStream.

js

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

Specifications

Specification
Streams Standard
# dom-generictransformstream-readable

Browser compatibility

BCD tables only load in the browser