IPWorks OpenPGP 2020 Python Edition

Questions / Feedback?

on_progress Event

Shows the progress of decoding/encoding the input data.


class MIMEProgressEventParams(object):
  def percent_done() -> int: ...

# In class MIME:
def on_progress() -> Callable[[MIMEProgressEventParams], None]: ...
def on_progress(event_hook: Callable[[MIMEProgressEventParams], None]) -> None: ...


The on_progress allows the user to visualize the progress of processing the input data.

The PercentDone parameter shows what percentage of the input has been read.

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