diff --git a/src/easynetwork/lowlevel/api_async/backend/abc.py b/src/easynetwork/lowlevel/api_async/backend/abc.py index 5374ea13..9fe583f6 100644 --- a/src/easynetwork/lowlevel/api_async/backend/abc.py +++ b/src/easynetwork/lowlevel/api_async/backend/abc.py @@ -168,18 +168,21 @@ class ICondition(ILock, Protocol): """ + @abstractmethod def notify(self, n: int = ..., /) -> None: """ Wake one or more tasks that are blocked in :meth:`wait`. """ ... + @abstractmethod def notify_all(self) -> None: """ Wake all tasks that are blocked in :meth:`wait`. """ ... + @abstractmethod async def wait(self) -> Any: """ Wait until notified.