Function: cider-tooling-eval

cider-tooling-eval is a byte-compiled function defined in cider-client.el.

Signature

(cider-tooling-eval INPUT CALLBACK &optional NS CONNECTION)

Documentation

Send the request INPUT to CONNECTION and register the CALLBACK.

NS specifies the namespace in which to evaluate the request. Requests evaluated in the tooling nREPL session don't affect the thread-local bindings of the primary eval nREPL session (e.g. this is not going to clobber *1/2/3).

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-client.el
(defun cider-tooling-eval (input callback &optional ns connection)
  "Send the request INPUT to CONNECTION and register the CALLBACK.
NS specifies the namespace in which to evaluate the request.  Requests
evaluated in the tooling nREPL session don't affect the thread-local
bindings of the primary eval nREPL session (e.g. this is not going to
clobber *1/2/3)."
  ;; namespace forms are always evaluated in the "user" namespace
  (nrepl-request:eval input
                      callback
                      (or connection (cider-current-repl 'infer 'ensure))
                      ns nil nil nil 'tooling))