compressAsynchronously compresses data with GZIP function compress(data: Uint8Array, cb: FlateCallback): AsyncTerminable;§compress(data: Uint8Array, cb: FlateCallback): AsyncTerminable[src]§Parameters§data: Uint8Array[src]The data to compress §cb: FlateCallback[src]The function to be called upon compression completion §Return Type§AsyncTerminable[src]A function that can be used to immediately terminate the decompression