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)

Properties

useCompressionStream?: boolean

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

Default Value

true
useWebWorkers?: boolean

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

Default Value

true

Generated using TypeDoc