Interface WorkerConfiguration

Represents configuration passed to configure, the constructor of ZipReader, Entry#getData, the constructor of ZipWriter, and ZipWriter#add.

interface WorkerConfiguration {
    useCompressionStream?: boolean;
    useWebWorkers?: boolean;

Hierarchy (view full)


useCompressionStream?: boolean

true to use the native API CompressionStream/DecompressionStream to compress/decompress data.

Default Value

useWebWorkers?: boolean

true to use web workers to compress/decompress data in non-blocking background processes.

Default Value


Generated using TypeDoc