Method ReadAsync
- Namespace
- MailFathom.Application.Accounts
- Assembly
- MailFathom.Application.dll
ReadAsync(CancellationToken)
Reads the served accounts and their synchronization freshness.
public Task<MailAccountDirectory> ReadAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenPropagates caller cancellation.
Returns
- Task<MailAccountDirectory>
The served accounts with their folders, and whether the deployment refreshes them.
Remarks
Nothing here writes, so the operation is safe to repeat, and it sets no remote state because it speaks to no mail server at all.