Telethon/telethon/network/connection
Lonami Exo 04ba2e1fc7 Revert disconnect() to be async again (#1133)
It's the only way to properly clean all background tasks,
which the library makes heavy use for in MTProto/Connection
send and receive loops.

Some parts of the code even relied on the fact that it was
asynchronous (it used to return a future so you could await
it and not be breaking).

It's automatically syncified to reduce the damage of being
a breaking change.
2019-03-21 12:21:00 +01:00
..
__init__.py Implement different mtproto proxy protocols; refactor obfuscated2 2019-03-10 03:26:24 +01:00
connection.py Revert disconnect() to be async again (#1133) 2019-03-21 12:21:00 +01:00
http.py Rework class hierarchy, try to DRY more 2019-03-12 01:12:55 +01:00
tcpabridged.py Rework class hierarchy, try to DRY more 2019-03-12 01:12:55 +01:00
tcpfull.py Rework class hierarchy, try to DRY more 2019-03-12 01:12:55 +01:00
tcpintermediate.py Rework class hierarchy, try to DRY more 2019-03-12 01:12:55 +01:00
tcpmtproxy.py Revert disconnect() to be async again (#1133) 2019-03-21 12:21:00 +01:00
tcpobfuscated.py Rework class hierarchy, try to DRY more 2019-03-12 01:12:55 +01:00