CompressionStream: writable property
The writable
read-only property of the CompressionStream
interface returns a WritableStream
.
Value
Examples
The following example returns a WritableStream
from a CompressionStream
.
js
let stream = new CompressionStream("gzip");
console.log(stream.writable); // A WritableStream
Specifications
Specification |
---|
Streams Standard # dom-generictransformstream-writable |
Browser compatibility
BCD tables only load in the browser