UNPKG

@intuitionrobotics/thunderstorm

Version:
9 lines 579 B
// Health-check contract shared by the backend `/health` endpoint. // // A backend Module opts INTO contributing real subsystem health by // implementing HealthCheckContributor. There is no hidden registration — a // module shows up as a health contributor only because its own code declares // `getHealth()`. Modules that don't implement it are still listed (as a // loaded "pass"), so the report always reflects exactly what is running. export const isHealthCheckContributor = (module) => !!module && typeof module.getHealth === "function"; //# sourceMappingURL=health.js.map