Skip to content

Worker Interface

app.application.interfaces.export.worker_interface

View source code

Interface contract for background single-session export worker implementations.

See Also

Layer: Application. Context: Defines protocol boundaries consumed by application orchestration.

ExportWorkerInterface

Bases: Protocol

Abstraction boundary for single-session export workers.

Layer: Application. Context: Coordinates use-case behavior through domain services and application contracts.

cancelled = SignalInstance class-attribute instance-attribute

error_occurred = SignalInstance class-attribute instance-attribute

finished = SignalInstance class-attribute instance-attribute

finished_processing = SignalInstance class-attribute instance-attribute

progress_updated = SignalInstance class-attribute instance-attribute

succeeded = SignalInstance class-attribute instance-attribute

deleteLater() -> None

Schedule worker object deletion on the Qt event loop.

isRunning() -> bool

Return True while the worker thread is active.

RETURNS DESCRIPTION
bool

True while the export worker thread is running.

start() -> None

Start the export thread.

stop() -> None

Request the export thread to stop.

wait() -> None

Wait for the export thread to finish.