on_progress Event
Fired as progress is made.
Syntax
class TEAProgressEventParams(object): @property def bytes_processed() -> int: ... @property def percent_processed() -> int: ... # In class TEA: @property def on_progress() -> Callable[[TEAProgressEventParams], None]: ... @on_progress.setter def on_progress(event_hook: Callable[[TEAProgressEventParams], 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.