TransformStream: readable-Eigenschaft
Hinweis: Diese Funktion ist in Web Workers verfügbar.
Die schreibgeschützte readable
-Eigenschaft des TransformStream
-Interfaces gibt die ReadableStream
-Instanz zurück, die von diesem TransformStream
gesteuert wird.
Wert
Ein ReadableStream
.
Beispiele
Das folgende Beispiel erstellt einen neuen TransformStream
als textEncoderStream
und gibt den Wert von readable
in der Konsole aus.
js
const textEncoderStream = new TransformStream();
console.log(textEncoderStream.readable); // a ReadableStream
Spezifikationen
Specification |
---|
Streams # ref-for-ts-readable② |
Browser-Kompatibilität
Report problems with this compatibility data on GitHubdesktop | mobile | server | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
readable |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.