Method ReadAsync
- Namespace
- MailFathom.Application.Retrieval.AskMail
- Assembly
- MailFathom.Application.dll
ReadAsync(CancellationToken)
Reads what this deployment can do with a question right now.
public Task<MailAnsweringAvailability> ReadAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenPropagates caller cancellation.
Returns
- Task<MailAnsweringAvailability>
The availability, which is what decides whether the tool is offered.
Exceptions
- OperationCanceledException
Thrown when the caller cancels or the host is shutting down.