BeginFile Event
Fired before a file is processed.
Syntax
zcompress.on('BeginFile', listener: (e: {readonly index: number, skip: boolean}) => void )
Remarks
BeginFile is fired before compression or decompression begins. Index will contain 0.
You may use the Skip parameter to tell the component to skip the file when compressing or decompressing.