method IMessageBroker.isHealthy
Since 0.1.0
IMessageBroker.isHealthy(): Promise<boolean>

Reports whether the broker's backend is reachable right now, for the plugin's health indicator.

Optional: a broker with no meaningful liveness check omits it, and the indicator then reports only the lifecycle state (isReady).

This answers a fact (reachability), not a policy: the indicator that consumes it owns the up/down mapping.

Return Type

Promise<boolean>

true when the backend is reachable

Usage

import { type IMessageBroker } from "common/src/index.ts";