removed edge detection

This commit is contained in:
Devaev Maxim
2020-09-10 13:40:56 +03:00
parent ff36ff203e
commit 44c50aa4de
4 changed files with 1 additions and 47 deletions

View File

@@ -97,9 +97,6 @@ class AioNotifier:
async def notify(self) -> None:
await self.__queue.put(None)
def notify_sync(self) -> None:
self.__queue.put_nowait(None)
async def wait(self) -> None:
await self.__queue.get()
while not self.__queue.empty():