Function: doom-modeline--eglot-pending-count

doom-modeline--eglot-pending-count is a natively compiled function defined in doom-modeline-segments.el.

Signature

(doom-modeline--eglot-pending-count SERVER)

Documentation

Get count of pending eglot requests to SERVER.

Source Code

;; Defined in /nix/store/1lcicrdd2r4b8rkc91nnn74ymk1jl6yd-emacs-packages-deps/share/emacs/site-lisp/elpa/doom-modeline-20260928.1632/doom-modeline-segments.el
(defun doom-modeline--eglot-pending-count (server)
  "Get count of pending eglot requests to SERVER."
  (if (fboundp 'jsonrpc-continuation-count)
      (jsonrpc-continuation-count server)
    (hash-table-count (jsonrpc--request-continuations server))))