TextDecoderStream: writable property
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 Standard # dom-generictransformstream-writable |
Browser compatibility
BCD tables only load in the browser