Table of Contents

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

cancellationToken CancellationToken

Cancels the read.

Returns

Task<bool>

true when at least one served account's mail is redacted.

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.