Function: nrepl-request:eval

nrepl-request:eval is a byte-compiled function defined in nrepl-client.el.

Signature

(nrepl-request:eval INPUT CALLBACK CONNECTION &optional NS LINE COLUMN ADDITIONAL-PARAMS TOOLING)

Documentation

Send the request INPUT and register the CALLBACK as the response handler.

The request is dispatched via CONNECTION. If NS is non-nil, include it in the request. LINE and COLUMN, if non-nil, define the position of INPUT in its buffer. A CONNECTION uniquely determines two connections available: the standard interaction one and the tooling session. If the tooling is desired, set TOOLING to true. ADDITIONAL-PARAMS is a plist to be appended to the request message.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/nrepl-client.el
(defun nrepl-request:eval (input callback connection &optional ns line column additional-params tooling)
  "Send the request INPUT and register the CALLBACK as the response handler.
The request is dispatched via CONNECTION.  If NS is non-nil,
include it in the request.  LINE and COLUMN, if non-nil, define the position
of INPUT in its buffer.  A CONNECTION uniquely determines two connections
available: the standard interaction one and the tooling session.  If the
tooling is desired, set TOOLING to true.
ADDITIONAL-PARAMS is a plist to be appended to the request message."
  (nrepl-send-request (append (nrepl--eval-request input ns line column) additional-params)
                      callback
                      connection
                      tooling))