dont tg.spawn() for each message, allow wait_for to read
This commit is contained in:
parent
45ac3be550
commit
688418df04
4 changed files with 125 additions and 94 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue