Method PerformAsync
- Namespace
- MailFathom.Application.Agent.Answering
- Assembly
- MailFathom.Application.dll
PerformAsync(AgentProposedAct, string, CancellationToken)
Carries out one accepted act.
public Task<bool> PerformAsync(AgentProposedAct act, string proposal, CancellationToken cancellationToken)
Parameters
actAgentProposedActThe act, exactly as it was proposed.
proposalstringNames the proposal, which keys a sent act so a retried acceptance is recognizably the same request.
cancellationTokenCancellationTokenCancels the work.
Returns
Remarks
A refusal is an outcome rather than a fault: a recipient the governor refuses, an account no longer served, a message past a bound, a calendar that would not take the span. Each is what the proposal ends in as failed, and the person is offered the attempt again.
Exceptions
- ArgumentNullException
Thrown when
actis null.