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

Method get

python/src/deltachat/events.py:105–110  ·  view source on GitHub ↗
(self, timeout=None, check_error=True)

Source from the content-addressed store, hash-verified

103 self.get(check_error=check_error)
104
105 def get(self, timeout=None, check_error=True):
106 timeout = timeout if timeout is not None else self._timeout
107 ev = self._event_queue.get(timeout=timeout)
108 if check_error and ev.name == "DC_EVENT_ERROR":
109 raise ValueError(f"unexpected event: {ev}")
110 return ev
111
112 def iter_events(self, timeout=None, check_error=True):
113 while True:

Callers 15

consume_eventsMethod · 0.95
iter_eventsMethod · 0.95
disable_loggingMethod · 0.45
enable_loggingMethod · 0.45
_pop_config_successMethod · 0.45
fnmatch_linesMethod · 0.45
dump_imap_structuresMethod · 0.45
wait_progressMethod · 0.45
wait_finishMethod · 0.45
wait_progressMethod · 0.45
wait_finishMethod · 0.45

Calls

no outgoing calls

Tested by 8

disable_loggingMethod · 0.36
enable_loggingMethod · 0.36
_pop_config_successMethod · 0.36
fnmatch_linesMethod · 0.36
test_db_busy_errorFunction · 0.36
test_dc_close_eventsFunction · 0.36