Progress Event
Fired as progress is made.
Syntax
sda.on('Progress', [callback])
Callback
The 'callback' is called when the 'Progress' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.filename e.bytesProcessed e.percentProcessed
Remarks
The Progress event is automatically fired as compression is performed.
Filename contains the name of the file being written.
BytesProcessed contains the total number of uncompressed bytes processed.
PercentProcessed contains the percent of uncompressed bytes processed, corresponding roughly to the running time of the operation.