server.py 192 B

12345678910
  1. from abc import ABC, abstractmethod
  2. class Server(ABC):
  3. @abstractmethod
  4. async def start(self) -> None:
  5. pass
  6. @abstractmethod
  7. async def stop(self) -> None:
  8. pass