TransformStream: writable property
Note: This feature is available in Web Workers.
The writable
read-only property of the TransformStream
interface returns the WritableStream
instance controlled by this TransformStream
.
Value
Examples
The following example creates a new TransformStream
as a textEncoderStream
, and prints the value of writable
to the console.
js
const textEncoderStream = new TransformStream();
console.log(textEncoderStream.writable); // a WritableStream
Specifications
Specification |
---|
Streams # ref-for-ts-writable② |
Browser compatibility
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.