mirror of
https://github.com/frida/releng.git
synced 2026-11-07 09:36:02 -10:00
15 lines
246 B
Python
15 lines
246 B
Python
from dataclasses import dataclass
|
|
from typing import Callable
|
|
|
|
|
|
@dataclass
|
|
class Progress:
|
|
message: str
|
|
|
|
|
|
ProgressCallback = Callable[[Progress], None]
|
|
|
|
|
|
def print_progress(progress: Progress):
|
|
print(f"{progress.message}...", flush=True)
|