Method IsActiveAsync
- Namespace
- MailFathom.Application.SensitiveContent.Derivation
- Assembly
- MailFathom.Application.dll
IsActiveAsync(CancellationToken)
Reads whether any account this deployment serves has what is derived from its mail redacted.
public Task<bool> IsActiveAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenCancels the read.
Returns
Remarks
Read by a walk deciding whether work only a redaction makes necessary is worth arranging at all. What one message is judged by is StampForAsync(MailAccountId, CancellationToken), because a deployment that redacts one mailbox's mail need not redact every mailbox's.