Method ReadAsync
- Namespace
- MailFathom.Application.Accounts.Custody
- Assembly
- MailFathom.Application.dll
ReadAsync(MailAccountId, CancellationToken)
Reads one account's custody, joining no transaction.
Task<MailAccountCustodyState?> ReadAsync(MailAccountId account, CancellationToken cancellationToken)
Parameters
accountMailAccountIdThe account.
cancellationTokenCancellationTokenPropagates caller cancellation.
Returns
- Task<MailAccountCustodyState>
The state, or null where the deployment holds no such account.