Function: cider-profile--make-response-handler

cider-profile--make-response-handler is a byte-compiled function defined in cider-profile.el.

Signature

(cider-profile--make-response-handler HANDLER &optional BUFFER)

Documentation

Make a response handler that calls HANDLER with the response value.

HANDLER takes one argument (the value). BUFFER, defaulting to the current buffer, is used by the global nREPL handlers (e.g. error).

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-profile.el
(defun cider-profile--make-response-handler (handler &optional buffer)
  "Make a response handler that calls HANDLER with the response value.
HANDLER takes one argument (the value).  BUFFER, defaulting to the
current buffer, is used by the global nREPL handlers (e.g. error)."
  (cider-make-eval-handler
   :buffer (or buffer (current-buffer))
   :on-value handler))