Function: nrepl-request:eval

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

This function is obsolete since 2.0.0; use nrepl-send-eval-request instead.

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.

This positional form is kept for backward compatibility; new code should prefer the keyword-argument nrepl-send-eval-request.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/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.

This positional form is kept for backward compatibility; new code should
prefer the keyword-argument `nrepl-send-eval-request'."
  (nrepl-send-eval-request input callback connection
                           :ns ns :line line :column column
                           :additional-params additional-params :tooling tooling))