TextEncoderStream: readable property
Note: This feature is available in Web Workers.
The readable
read-only property of the TextEncoderStream
interface returns a ReadableStream
.
Value
Examples
The following example demonstrates how to return a ReadableStream
from a TextEncoderStream
object.
js
stream = new TextEncoderStream();
console.log(stream.readable); //a ReadableStream
Specifications
Specification |
---|
Streams Standard # dom-generictransformstream-readable |
Browser compatibility
BCD tables only load in the browser