jw-python/tools/python/jwutils/asyncio/Process.py
Jan Lindemann 428692ea3a Streamline Python file headers somewhat
- Add coding statement
  - Import all modules in one line where possible
  - Order: __future__, typing, plain imports, from imports,
    janware modules

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-07-10 05:14:06 +02:00

22 lines
415 B
Python

# -*- coding: utf-8 -*-
from abc import abstractmethod
from ..Process import Process as ProcessBase
from .Signals import Signals
class Process(ProcessBase): # export
__signals = Signals()
def __init__(self, aio):
super().__init()
self.aio = aio
@classmethod
@abstractmethod
def signals(cls):
return cls.__signals
def wait(self):
return self.aio.wait()