IPWorks OpenPGP 2020 Python Edition

Questions / Feedback?

on_progress Event

Fired as progress is made.


class PIMAPProgressEventParams(object):
  def bytes_processed() -> int: ...
  def percent_processed() -> int: ...

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


This event is fired automatically as data is processed by the class.

The PercentProcessed parameter indicates the current status of the operation.

The BytesProcessed parameter holds the total number of bytes processed so far.

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