MCPcopy Create free account
hub / github.com/eternnoir/pyTelegramBotAPI / close

Method close

telebot/util.py:160–165  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

158 self.exception_event.clear()
159
160 def close(self):
161 for worker in self.workers:
162 worker.stop()
163 for worker in self.workers:
164 if worker != threading.current_thread():
165 worker.join()
166
167
168class AsyncTask:

Callers 3

script.jsFile · 0.45
get_sessionMethod · 0.45
restart_fileFunction · 0.45

Calls 1

stopMethod · 0.80

Tested by

no test coverage detected