MCPcopy Create free account
hub / github.com/chatmail/core / wait

Method wait

python/src/deltachat/events.py:243–248  ·  view source on GitHub ↗
(self, timeout=None)

Source from the content-addressed store, hash-verified

241 self._marked_for_shutdown = True
242
243 def wait(self, timeout=None) -> None:
244 if self == threading.current_thread():
245 # we are in the callback thread and thus cannot
246 # wait for the thread-loop to finish.
247 return
248 self.join(timeout=timeout)
249
250 def run(self) -> None:
251 """get and run events until shutdown."""

Callers 8

wait_shutdownMethod · 0.45
shutdownMethod · 0.45
wait_smtp_connectedMethod · 0.45
wait_imap_connectedMethod · 0.45
test_echo_quit_pluginFunction · 0.45
pytest_report_headerFunction · 0.45
test_sleepFunction · 0.45
stopMethod · 0.45

Calls

no outgoing calls

Tested by 3

test_echo_quit_pluginFunction · 0.36
pytest_report_headerFunction · 0.36
test_sleepFunction · 0.36