Method IsActiveForAnyAccountAsync
- Namespace
- MailFathom.Application.SensitiveContent
- Assembly
- MailFathom.Application.dll
IsActiveForAnyAccountAsync(CancellationToken)
Gets whether any account this deployment serves has anything scanned for at all.
Task<bool> IsActiveForAnyAccountAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenCancels the read.
Returns
Remarks
Read by a consumer deciding whether work only a scan makes necessary is worth arranging at all — opening a guarded operation, parsing a message back into values — never as permission to hand text on unguarded. A deployment where this is false constructs no detector and takes no permit on any path.