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

Method ac_process_ffi_event

python/src/deltachat/tracker.py:22–26  ·  view source on GitHub ↗
(self, ffi_event: "FFIEvent")

Source from the content-addressed store, hash-verified

20
21 @account_hookimpl
22 def ac_process_ffi_event(self, ffi_event: "FFIEvent") -> None:
23 if ffi_event.name == "DC_EVENT_IMEX_PROGRESS":
24 self._imex_events.put(ffi_event.data1)
25 elif ffi_event.name == "DC_EVENT_IMEX_FILE_WRITTEN":
26 self._imex_events.put(ffi_event.data2)
27
28 def wait_progress(self, target_progress, progress_upper_limit=1000, progress_timeout=60):
29 while True:

Callers

nothing calls this directly

Calls 1

putMethod · 0.80

Tested by

no test coverage detected