dont tg.spawn() for each message, allow wait_for to read

This commit is contained in:
jesopo 2020-04-03 13:04:02 +01:00
parent 45ac3be550
commit 688418df04
4 changed files with 125 additions and 94 deletions

View file

@ -52,7 +52,12 @@ class IServer(Server):
async def queue_capability(self, cap: ICapability):
pass
async def line_written(self, line: Line):
async def line_read(self, line: Line):
pass
async def line_send(self, line: Line):
pass
async def next_line(self) -> Line:
pass
def cap_agreed(self, capability: ICapability) -> bool: