DecompressionStream.writable

Baseline 2023

Newly available

Since May 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

DecompressionStream インターフェイスの読み取り専用プロパティ writable は、WritableStream を返します。

WritableStream です。

この例では、DecompressionStream から WritableStream を返します。

js
let stream = new DecompressionStream("gzip");
console.log(stream.writeable); // WritableStream

仕様書

Specification
Streams Standard
# dom-generictransformstream-writable

ブラウザーの互換性

BCD tables only load in the browser