Interface IHealthCheckable
- Namespace
- DotCompute.Abstractions.Health
- Assembly
- DotCompute.Abstractions.dll
Interface for components that support health checking.
public interface IHealthCheckable
Methods
CheckHealthAsync(CancellationToken)
Performs a health check and returns the current health status.
Task<HealthCheckResult> CheckHealthAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenCancellation token.
Returns
- Task<HealthCheckResult>
The health check result.