Method RunsForAnyAccountAsync
- Namespace
- MailFathom.Application.SensitiveContent
- Assembly
- MailFathom.Application.dll
RunsForAnyAccountAsync(SensitiveContentScannerKind, CancellationToken)
Reports whether one scanner runs over any mail on this deployment.
Task<bool> RunsForAnyAccountAsync(SensitiveContentScannerKind scanner, CancellationToken cancellationToken)
Parameters
scannerSensitiveContentScannerKindThe scanner to ask about.
cancellationTokenCancellationTokenCancels the read.
Returns
Remarks
Asked by what answers for a scanner's own dependency rather than by anything that scans: the readiness probe of the analyzer the personal-data scanner reaches. A deployment that stood that analyzer up and scans no mail with it is not unready while the analyzer is silent, and one where a single account switched it on is.