TextDecoderStream: writable property
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.
Note: This feature is available in Web Workers.
The writable
read-only property of the TextDecoderStream
interface returns a WritableStream
.
Value
Examples
Returning a WritableStream
from a TextDecoderStream
.
js
stream = new TextDecoderStream();
console.log(stream.writable); // A WritableStream
Specifications
Specification |
---|
Streams # dom-generictransformstream-writable |