mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Let all connection modes implement the new Connection
This commit is contained in:
@@ -69,6 +69,7 @@ class Connection(abc.ABC):
|
||||
self._send(await self._send_queue.get())
|
||||
await self._writer.drain()
|
||||
|
||||
# TODO Handle IncompleteReadError and InvalidChecksumError
|
||||
async def _recv_loop(self):
|
||||
"""
|
||||
This loop is constantly putting items on the queue as they're read.
|
||||
|
Reference in New Issue
Block a user