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

Method _onconfigure_start_io

python/src/deltachat/testplugin.py:350–357  ·  view source on GitHub ↗
(self, acc)

Source from the content-addressed store, hash-verified

348 return acc
349
350 def _onconfigure_start_io(self, acc):
351 self.init_imap(acc)
352 self.init_logging(acc)
353 acc.start_io()
354 print(acc._logid, "waiting for inbox IDLE to become ready")
355 acc._evtracker.wait_idle_inbox_ready()
356 acc._evtracker.consume_events()
357 acc.log("inbox IDLE ready")
358
359 def init_logging(self, acc):
360 """idempotent function for initializing logging (will replace existing logger)."""

Callers 1

bring_onlineMethod · 0.95

Calls 6

init_imapMethod · 0.95
init_loggingMethod · 0.95
wait_idle_inbox_readyMethod · 0.80
consume_eventsMethod · 0.80
start_ioMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected