Skip to content
Tracon

IVoiceHealthCheck

Namespace Tracon · Assembly Tracon.Abstractions.dll

Checks the voice provider’s reachability.

public interface IVoiceHealthCheck

DI lifetime — singleton. Registered as a singleton with TryAdd; a consumer’s own registration wins.

Tenant behavior — TENANT-INDEPENDENT. Same reasoning as ISpeechSynthesizer: the provider is configured process-wide, not per tenant.

Checks access to the provider.

ValueTask<VoiceHealth> CheckHealthAsync(CancellationToken cancellationToken = default)

cancellationToken CancellationToken

The cancellation token.

ValueTask<VoiceHealth>

The status.

The check produces no charge: no audio is generated, only the list is read.