Skip to content

lspeasy / client/src / ConnectionHealth

Interface: ConnectionHealth

Defined in: packages/client/src/connection/types.ts:66

Aggregated connection health snapshot returned by LSPClient.getConnectionHealth().

Properties

PropertyTypeDescriptionDefined in
heartbeat?HeartbeatStatusHeartbeat monitoring snapshot, present only when heartbeat is configured.packages/client/src/connection/types.ts:74
lastMessageReceivedDate | nullTimestamp of the last incoming message, or null if none has been received.packages/client/src/connection/types.ts:72
lastMessageSentDate | nullTimestamp of the last outgoing message, or null if none has been sent.packages/client/src/connection/types.ts:70
stateConnectionStateCurrent lifecycle state of the connection.packages/client/src/connection/types.ts:68

Released under the MIT License.