Method CompleteAsync
- Namespace
- MailFathom.Application.Agent.Answering
- Assembly
- MailFathom.Application.dll
CompleteAsync(IReadOnlyList<PresentationText>, CancellationToken)
Ends the answer as completed, with the questions the agent suggests asking next.
public Task<bool> CompleteAsync(IReadOnlyList<PresentationText> followUps, CancellationToken cancellationToken)
Parameters
followUpsIReadOnlyList<PresentationText>The suggestions, and empty where the agent made none.
cancellationTokenCancellationTokenCancels the write.
Returns
Exceptions
- ArgumentException
Thrown when a suggestion is not one an answer may carry.
- ArgumentOutOfRangeException
Thrown when more are suggested than an answer may carry.