IPWorks OpenPGP 2020 Node.js Edition

Questions / Feedback?

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks OpenPGP 2020 Node.js Edition - Version 20.0 [Build 8249]