UNPKG

@amirmarmul/waba-common

Version:

![GitHub release](https://img.shields.io/github/v/release/amirmarmul/waba-common?style=flat-square)

9 lines (8 loc) 418 B
import { HealthIndicatorFunction } from '../healthIndicator/HealthIndicator'; import { HealthCheckExecutor } from './HealthCheckExecutor'; import { HealthCheckResult } from './HealthCheckResult'; export declare class HealthCheck { private readonly healthCheckExecutor; constructor(healthCheckExecutor: HealthCheckExecutor); check(healthIndicators: HealthIndicatorFunction[]): Promise<HealthCheckResult>; }