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