UNPKG

@actuatorjs/actuatorjs

Version:

Core interfaces and classes for actuatorjs ecosystem

10 lines (9 loc) 367 B
import type { HealthIndicator } from "./HealthIndicator"; import type { HealthResult } from "./HealthResult"; export declare class SimpleHealthIndicator implements HealthIndicator { private readonly name; private checkFn; constructor(name: string, healthFunction: () => Promise<HealthResult>); getName(): string; check(): Promise<HealthResult>; }