TextDecoderStream: readable property
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2022.
Note: This feature is available in Web Workers.
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
const stream = new TextDecoderStream();
console.log(stream.readable); // A ReadableStream
Specifications
Specification |
---|
Streams # dom-generictransformstream-readable |