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

Method idle

python/src/deltachat/direct_imap.py:155–161  ·  view source on GitHub ↗

return Idle ContextManager.

(self)

Source from the content-addressed store, hash-verified

153
154 @contextmanager
155 def idle(self):
156 """return Idle ContextManager."""
157 idle_manager = IdleManager(self)
158 try:
159 yield idle_manager
160 finally:
161 idle_manager.done()
162
163 def append(self, folder: str, msg: str):
164 """Upload a message to *folder*.

Callers 2

test_basic_imap_apiFunction · 0.45
test_connectivityFunction · 0.45

Calls 2

doneMethod · 0.95
IdleManagerClass · 0.70

Tested by 2

test_basic_imap_apiFunction · 0.36
test_connectivityFunction · 0.36