Method ReadAccountsRequestingScanningAsync
- Assembly
- MailFathom.Infrastructure.dll
ReadAccountsRequestingScanningAsync(CancellationToken)
Reads every served account that asked for a scanner or a screening of its own.
Task<IReadOnlyList<MailAccountScanningDeclaration>> ReadAccountsRequestingScanningAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenCancels the read.
Returns
- Task<IReadOnlyList<MailAccountScanningDeclaration>>
Those accounts with what each asked for, in identifier order; an account that asked for nothing is left out.
Remarks
An account that asked for nothing is scanned under the deployment's own section, so what a caller judging every account at once needs named is only the accounts whose own record could differ from it.