25 lines
540 B
Python
25 lines
540 B
Python
# Copyright (c) 2025 Patrick Motsch
|
|
# All rights reserved.
|
|
"""Background job service: generic, reusable infrastructure for long-running tasks."""
|
|
|
|
from .mainBackgroundJobService import (
|
|
registerJobHandler,
|
|
startJob,
|
|
getJobStatus,
|
|
listJobs,
|
|
cancelJob,
|
|
cancelJobsByConnection,
|
|
isTerminalStatus,
|
|
JobProgressCallback,
|
|
)
|
|
|
|
__all__ = [
|
|
"registerJobHandler",
|
|
"startJob",
|
|
"getJobStatus",
|
|
"listJobs",
|
|
"cancelJob",
|
|
"cancelJobsByConnection",
|
|
"isTerminalStatus",
|
|
"JobProgressCallback",
|
|
]
|