14 lines
452 B
C#
Executable File
14 lines
452 B
C#
Executable File
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ZB.MOM.WW.CBDDC.Core.Diagnostics;
|
|
|
|
public interface ICBDDCHealthCheck
|
|
{
|
|
/// <summary>
|
|
/// Performs a health check for the implementing component.
|
|
/// </summary>
|
|
/// <param name="cancellationToken">Cancellation token.</param>
|
|
/// <returns>The resulting health status.</returns>
|
|
Task<HealthStatus> CheckAsync(CancellationToken cancellationToken = default);
|
|
} |