TransformStream: writable-Eigenschaft
Hinweis: Diese Funktion ist in Web Workers verfügbar.
Die writable
schreibgeschützte Eigenschaft der TransformStream
-Schnittstelle gibt die WritableStream
-Instanz zurück, die von diesem TransformStream
kontrolliert wird.
Wert
Ein WritableStream
.
Beispiele
Das folgende Beispiel erstellt einen neuen TransformStream
als textEncoderStream
und gibt den Wert von writable
in der Konsole aus.
js
const textEncoderStream = new TransformStream();
console.log(textEncoderStream.writable); // a WritableStream
Spezifikationen
Specification |
---|
Streams # ref-for-ts-writable② |
Browser-Kompatibilität
Report problems with this compatibility data on GitHubdesktop | mobile | server | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
writable |
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.