A service which can be used to check the status of HealthCheck instances registered in the application.

Hierarchy

  • DefaultHealthCheckService

Implements

Constructors

Properties

Methods

  • Runs the provided health checks and returns the aggregated status.

    Parameters

    • Optional predicate: ((registration) => boolean)

      A predicate that can be used to include health checks based on user-defined criteria.

    • Optional timeoutMilliseconds: number

      A milliseconds which can be used to cancel the health checks.

    Returns Promise<HealthReport>

    A HealthReport instance.

Generated using TypeDoc