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

Method wait

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

Source from the content-addressed store, hash-verified

187 self.done = True
188
189 def wait(self):
190 if not self.done:
191 self.thread.join()
192 if isinstance(self.result, BaseException):
193 raise self.result
194 else:
195 return self.result
196
197
198class CustomRequestResponse:

Callers 4

driverFunction · 0.80
__threaded_pollingMethod · 0.80
runMethod · 0.80

Calls

no outgoing calls

Tested by 1

driverFunction · 0.64