Method AccountState
- Namespace
- MailFathom.Application.Signals
- Assembly
- MailFathom.Application.dll
AccountState(MailAccountId)
States that an account's synchronization run finished, so what the client says about it is out of date.
public static ClientSignal AccountState(MailAccountId account)
Parameters
accountMailAccountIdThe account the run was over.
Returns
- ClientSignal
The signal.
Remarks
It names the account and says nothing about the state it is in, deliberately. What state an account is in — the four-way reading, when it last committed progress, and whether it is behind — is derived in exactly one place, and a run deriving it a second way here would be two reductions of one question waiting to disagree. The client re-reads the accounts behind its freshness line, which is what it does with this signal anyway.