lspeasy / client/src / ConnectionHealth
Interface: ConnectionHealth
Defined in: packages/client/src/connection/types.ts:66
Aggregated connection health snapshot returned by LSPClient.getConnectionHealth().
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
heartbeat? | HeartbeatStatus | Heartbeat monitoring snapshot, present only when heartbeat is configured. | packages/client/src/connection/types.ts:74 |
lastMessageReceived | Date | null | Timestamp of the last incoming message, or null if none has been received. | packages/client/src/connection/types.ts:72 |
lastMessageSent | Date | null | Timestamp of the last outgoing message, or null if none has been sent. | packages/client/src/connection/types.ts:70 |
state | ConnectionState | Current lifecycle state of the connection. | packages/client/src/connection/types.ts:68 |