sec_interp.gui.preview_task_orchestrator module

Orchestrator for background preview generation tasks.

class sec_interp.gui.preview_task_orchestrator.PreviewTaskOrchestrator(manager: PreviewManager)

Bases: object

Manages asynchronous geology and drillhole generation tasks.

__init__(manager: PreviewManager) None

Initialize the orchestrator with its parent manager.

Parameters:

manager – The preview manager owning this orchestrator.

cancel_active_tasks() None

Cancel any existing async work and clear anchors.

remove_task(task: Any) None

Safely remove a task from active anchors.

start_drillhole_task(params: Any, service: Any) None

Launch background drillhole generation.

start_geology_task(params: Any, service: Any) None

Launch background geology generation.