Function: jsonrpc-connection-ready-p

jsonrpc-connection-ready-p is a byte-compiled function defined in jsonrpc.el.gz.

Signature

(jsonrpc-connection-ready-p CONNECTION WHAT)

Documentation

Tell if CONNECTION is ready for WHAT in current buffer.

If it isn't, a request which was passed a value to the
:deferred keyword argument will be deferred to the future.
WHAT is whatever was passed the as the value to that argument.

By default, all connections are ready for sending all requests immediately.

View in manual

Implementations

(jsonrpc-connection-ready-p (SERVER eglot-lsp-server) WHAT) in `eglot.el'.

Tell if SERVER is ready for WHAT in current buffer.

(jsonrpc-connection-ready-p S WHAT) in `jsonrpc.el'.

Undocumented

Source Code

;; Defined in /usr/src/emacs/lisp/jsonrpc.el.gz
;;; API optional
(cl-defgeneric jsonrpc-connection-ready-p (connection what)
  "Tell if CONNECTION is ready for WHAT in current buffer.
If it isn't, a request which was passed a value to the
`:deferred' keyword argument will be deferred to the future.
WHAT is whatever was passed the as the value to that argument.

By default, all connections are ready for sending all requests
immediately."
  (:method (_s _what)   ;; by default all connections are ready
           t))