TransformStream: readable property
The readable
read-only property of the TransformStream
interface returns the ReadableStream
instance controlled by this TransformStream
.
Value
Examples
The following example creates a new TransformStream
as textEncoderStream
, and prints the value of readable
to the console.
js
const textEncoderStream = new TransformStream();
console.log(textEncoderStream.readable); // a ReadableStream
Specifications
Specification |
---|
Streams Standard # ref-for-ts-readable② |
Browser compatibility
BCD tables only load in the browser