Function: cider-nrepl-send-request

cider-nrepl-send-request is a byte-compiled function defined in cider-client.el.

Signature

(cider-nrepl-send-request REQUEST CALLBACK &optional CONNECTION TOOLING)

Documentation

Send REQUEST and register response handler CALLBACK.

REQUEST is a pair list of the form ("op" "operation" "par1-name"
                                    "par1" ... ).
If CONNECTION is provided dispatch to that connection instead of the current connection. Return the id of the sent message. If TOOLING is truthy then the tooling session is used.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-client.el
(defun cider-nrepl-send-request (request callback &optional connection tooling)
  "Send REQUEST and register response handler CALLBACK.
REQUEST is a pair list of the form (\"op\" \"operation\" \"par1-name\"
                                    \"par1\" ... ).
If CONNECTION is provided dispatch to that connection instead of
the current connection.  Return the id of the sent message.
If TOOLING is truthy then the tooling session is used."
  (nrepl-send-request request callback (or connection
                                           (cider-current-repl 'infer 'ensure))
                      tooling))