Skip to content

lspeasy / client/src / HeartbeatStatus

Interface: HeartbeatStatus

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

Snapshot of the current heartbeat monitoring status.

Properties

PropertyTypeDescriptionDefined in
enabledbooleanWhether heartbeat monitoring is active.packages/client/src/connection/types.ts:47
intervalnumberInterval between pings in milliseconds.packages/client/src/connection/types.ts:49
isResponsivebooleanWhether the server responded to the most recent ping within the timeout window.packages/client/src/connection/types.ts:57
lastPingDate | nullTimestamp of the last outgoing ping, or null if no ping has been sent.packages/client/src/connection/types.ts:53
lastPongDate | nullTimestamp of the last received pong, or null if no pong has been received.packages/client/src/connection/types.ts:55
timeoutnumberTimeout in milliseconds before a ping is considered unanswered.packages/client/src/connection/types.ts:51

Released under the MIT License.