Skip to main content

foundation-comms.systemhealthstatus

Home > @genesislcap/foundation-comms > SystemHealthStatus

SystemHealthStatus type

SystemHealthStatus.

Signature:

export type SystemHealthStatus = {
isOnline: boolean;
browserInformation?: Bowser.Parser.ParsedResult;
isAuthenticated: boolean;
username?: string;
isHealthy: boolean;
socket: SerializedSocketStatus;
resources: Record<string, ResourceHealth>;
resourcesAllConnected: boolean;
lastUpdated: number;
nextUpdate: number;
firstUpdated: number;
runAllChecks(): void;
reportStabilityToGenesis(): Promise<boolean>;
};

References: SerializedSocketStatus, ResourceHealth