generateAsync

fun <T : JsAny> generateAsync(options: JSZipGeneratorOptions<T>, onUpdate: OnUpdateCallback? = definedExternally): Promise<T>(source)

Generates a new archive asynchronously

Return

The serialized archive

Parameters

options

Optional options for the generator

onUpdate

The optional function called on each internal update with the metadata.