IDistributedApplicationBuilder.addHealthCheck
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addHealthCheck(name: string, check: () => Promise<HealthCheckResult>): void;}Signature
method
addHealthCheckAdds a custom health check callback to the distributed-application builder.
addHealthCheck(name: string, check: () => Promise<HealthCheckResult>): voidParameters
namestringcheck() => Promise<HealthCheckResult>Defined on
This method is defined on the following type: