Class: CompositeHealth

health.CompositeHealth(status, componentsopt)

A Health that is composed of other Health instances.

Constructor

new CompositeHealth(status, componentsopt)

Creates a new composite health object.

Parameters:
Name Type Attributes Description
status Status

The combined status of the components.

components Record.<string, (Health|CompositeHealth)> <optional>

The components.

Members

(nullable) components :Record.<string, (Health|CompositeHealth)>

The components of the health.

Type:
  • Record.<string, (Health|CompositeHealth)>

status :Status

The status of the component.

Type:
  • Status