Export Worker Adapter
app.infrastructure.adapters.export_worker_adapterExplicit adapter wrapping ExportWorker to ExportWorkerInterface.
See Also
ExportWorkerInterface— defines the exposed worker contractExportWorker— concrete worker being adapted
Layer: Infrastructure. Context: Implements concrete processing and I/O behind application-facing contracts.
ExportWorkerAdapter
Bases: ExportWorkerInterface
Delegate ExportWorker thread control and signals through the interface seam.
| PARAMETER | DESCRIPTION |
|---|---|
worker
|
Concrete export worker wrapped by this adapter.
TYPE:
|
cancelled
property
Forward the worker cancellation signal.
error_occurred
property
Forward the worker error signal.
finished
property
Forward native thread completion, safe for worker disposal.
finished_processing
property
Forward the worker completion signal.
progress_updated
property
Forward the worker progress signal.
succeeded
property
Forward the worker success signal.
__init__(worker: ExportWorker) -> None
deleteLater() -> None
Schedule this Qt object for deletion.
isRunning() -> bool
Return whether the worker thread is running.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
|
start() -> None
Start the wrapped export worker.
stop() -> None
Request the wrapped export worker to stop.
wait() -> None
Wait until the wrapped export thread has fully exited.