mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-09-19 18:32:47 +03:00
Merge becee2b0ac
into 0d429f55c5
This commit is contained in:
commit
1e11ffc554
|
@ -1403,3 +1403,13 @@ class TelegramClient(TelegramBareClient):
|
|||
)
|
||||
|
||||
# endregion
|
||||
|
||||
def join (self):
|
||||
"""
|
||||
Join all the threads spwaned for read;
|
||||
if there is no thread, join will return
|
||||
"""
|
||||
|
||||
# If there is no thread to join, just return
|
||||
if self._recv_thread is None: return
|
||||
else: self._recv_thread.join()
|
||||
|
|
Loading…
Reference in New Issue
Block a user