此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。
CompressionStream.writable
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2023年5月.
CompressionStream 接口的writable 属性返回WritableStream。
In this article
值
示例
以下示例从CompressionStream 返回WritableStream。
js
let stream = new CompressionStream("gzip");console.log(stream.writeable); //一个 WritableStream规范
| Specification |
|---|
| Streams> # dom-generictransformstream-writable> |