lspeasy / client/src / HeartbeatStatus
Interface: HeartbeatStatus
Defined in: packages/client/src/connection/types.ts:45
Snapshot of the current heartbeat monitoring status.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
enabled | boolean | Whether heartbeat monitoring is active. | packages/client/src/connection/types.ts:47 |
interval | number | Interval between pings in milliseconds. | packages/client/src/connection/types.ts:49 |
isResponsive | boolean | Whether the server responded to the most recent ping within the timeout window. | packages/client/src/connection/types.ts:57 |
lastPing | Date | null | Timestamp of the last outgoing ping, or null if no ping has been sent. | packages/client/src/connection/types.ts:53 |
lastPong | Date | null | Timestamp of the last received pong, or null if no pong has been received. | packages/client/src/connection/types.ts:55 |
timeout | number | Timeout in milliseconds before a ping is considered unanswered. | packages/client/src/connection/types.ts:51 |