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
# dom-generictransformstream-readable

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobileserver
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
Deno
Node.js
readable

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support