17 lines
349 B
Python
17 lines
349 B
Python
|
|
from __future__ import annotations
|
||
|
|
|
||
|
|
from abc import ABC, abstractmethod
|
||
|
|
|
||
|
|
from yuxi.channels.models import HealthStatus
|
||
|
|
|
||
|
|
|
||
|
|
class ExternalProcessManager(ABC):
|
||
|
|
@abstractmethod
|
||
|
|
async def start(self) -> None: ...
|
||
|
|
|
||
|
|
@abstractmethod
|
||
|
|
async def stop(self) -> None: ...
|
||
|
|
|
||
|
|
@abstractmethod
|
||
|
|
async def health_check(self) -> HealthStatus: ...
|