Skip to content
Standard text for CompressionStream and DecompressionStream API
HTML Makefile
Branch: master
Clone or download
jeremyroman and ricea In example code, simply return the promise from Response.blob. (#23)
It's unnecessary to await a promise returned from an async function
(except if, as not needed here, the exception is to be caught in this
function instead of by a caller).

It's slightly verbose and advised against:

Since this is the only use of await, this function is not actually
async. Finally, it should be named with the same casing convention as
the previous example.
Latest commit 62d660d Dec 6, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.pr-preview.json Adding baseline May 29, 2019
w3c.json Adding baseline w3c.json Nov 15, 2019

Compression Streams Specification

This repository is the home of the Compression Streams Specification, which defines the APIs CompressionStream and DecompressionStream.

See the text of the specification or read the explainer to find out what this is all about.

You can’t perform that action at this time.