IPWorks OpenPGP 2020 Python Edition

Questions / Feedback?

on_progress Event

Fired as progress is made.

Syntax

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

# In class PSMTP:
@property
def on_progress() -> Callable[[PSMTPProgressEventParams], None]: ...
@on_progress.setter
def on_progress(event_hook: Callable[[PSMTPProgressEventParams], 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 8249]