on_progress Event
Reports the progress of the decryption operation.
Syntax
class PGPReaderProgressEventParams(object): @property def current() -> int: ... @property def total() -> int: ... @property def cancel() -> bool: ... @cancel.setter def cancel(value) -> None: ... # In class PGPReader: @property def on_progress() -> Callable[[PGPReaderProgressEventParams], None]: ... @on_progress.setter def on_progress(event_hook: Callable[[PGPReaderProgressEventParams], None]) -> None: ...
Remarks
The class fires this event repeatedly to report the progress of the file extraction operation.
Current indicates the amount of processed data in bytes, and Total is the total number of bytes to be processed. Use Cancel to terminate the extraction process.