Expand description
Shared device read, normalized to a store-agnostic FetchedMessage.
Lists a MAP folder and fetches each message body. Consumed by both the persist tail
(sync::backfill_folder) and the live read path (live), so the list_messages +
per-entry get_message loop exists once. No store access — the cursor that derives
since_ms is read by the caller.
Structs§
- Fetched
Message - A message read from the device and normalized, before it is persisted or rendered.
Functions§
- fetch_
folder - Lists
folderand fetches each message body sincesince_ms. - list_
folder - Lists
folder, paging at 1024 entries per request and accumulating across pages.