Table of Contents

Method DerivePlanAsync

Namespace
MailFathom.Application.Discovery.Planning
Assembly
MailFathom.Application.dll

DerivePlanAsync(MailQuestion, CancellationToken)

Reads a question and answers with the retrieval and the composition it implies.

Task<DiscoveryRunPlan> DerivePlanAsync(MailQuestion question, CancellationToken cancellationToken)

Parameters

question MailQuestion

The question and the scope bounding what may be read to answer it.

cancellationToken CancellationToken

Cancels the derivation.

Returns

Task<DiscoveryRunPlan>

The plan.

Remarks

A question this derivation cannot read as one of the named kinds still produces a plan, carrying Unclassified and a lookup drawn from the question itself. A run is refused only where the deployment cannot answer questions at all, which the caller establishes before reaching this port.