Enum PresentationStaleness
- Namespace
- MailFathom.Application.Discovery.Presentation
- Assembly
- MailFathom.Application.dll
Says how far behind the mail server the data a block rests on may be.
[JsonConverter(typeof(JsonStringEnumConverter<PresentationStaleness>))]
public enum PresentationStaleness
Fields
Current = 0The local copy of everything behind the block was current when the run read it.
Stale = 1Something behind the block is known to be behind the mail server.
Unknown = 2Nothing established how current the local copy was, so the block claims neither.
Remarks
Every block is composed from the local copy, which is what keeps a question from waiting on IMAP. The cost of that is that the copy can be behind, and a block presenting last week's state of a conversation as the current one is wrong in a way the reader cannot see. Saying which of the three it is turns that into something a client can draw.