Table of Contents

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

followUps IReadOnlyList<PresentationText>

The suggestions, and empty where the agent made none.

cancellationToken CancellationToken

Cancels the write.

Returns

Task<bool>

true when the ending was written; false when the answer had already ended.

Exceptions

ArgumentException

Thrown when a suggestion is not one an answer may carry.

ArgumentOutOfRangeException

Thrown when more are suggested than an answer may carry.