IPWorks OpenPGP 2020 Python Edition

Questions / Feedback?

on_progress Event

Fired as progress is made.

Syntax

class PHTMLMailerProgressEventParams(object):
  @property
  def bytes_processed() -> int: ...
  @property
  def percent_processed() -> int: ...

# In class PHTMLMailer:
@property
def on_progress() -> Callable[[PHTMLMailerProgressEventParams], None]: ...
@on_progress.setter
def on_progress(event_hook: Callable[[PHTMLMailerProgressEventParams], None]) -> None: ...

Remarks

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]