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
questionMailQuestionThe question and the scope bounding what may be read to answer it.
cancellationTokenCancellationTokenCancels 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.