Method Read
- Namespace
- MailFathom.Infrastructure.Observability
- Assembly
- MailFathom.Infrastructure.dll
Read(AiProviderRole)
Reads the state of one provider.
public AiProviderHealth Read(AiProviderRole role)
Parameters
roleAiProviderRoleWhich provider to read.
Returns
- AiProviderHealth
What the last call to it established, which is Unobserved until one has been made.
Remarks
A role nothing has recorded reads as unobserved rather than as an absence, so no caller has to decide what a missing entry means.