Skip to content

LspConnectionPoolEvent

LspConnectionPoolEvent = object

What a pooled connection just did, for a host that wants to log it.

readonly optional durationMs?: number

Time to initialize for ready; the connection’s life so far for closed, retired and error.


readonly optional error?: unknown


readonly key: string


readonly kind: "created" | "reused" | "ready" | "released" | "closed" | "retired" | "reconnecting" | "error" | "handler_ignored"


readonly leaseCount: number


readonly optional methods?: readonly string[]

Methods a late borrower declared that this connection cannot dispatch.


readonly optional reachedReady?: boolean


readonly status: LanguageServerStatus