Variable: nrepl-response-handler-functions
nrepl-response-handler-functions is a variable defined in
nrepl-client.el.
Value
nil
Documentation
List of functions to call on each nREPL message.
Each of these functions should be a function with one argument, which will
be called by nrepl-client-filter on every response received. The current
buffer will be connection (REPL) buffer of the process. These functions
should take a single argument, a dict representing the message. See
nrepl--dispatch-response for an example.
These functions are called before the message's own callbacks, so that they can affect the behavior of the callbacks. Errors signaled by these functions are demoted to messages, so that they don't prevent the callbacks from running.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/nrepl-client.el
;;; Client: Process Filter
(defvar nrepl-response-handler-functions nil
"List of functions to call on each nREPL message.
Each of these functions should be a function with one argument, which will
be called by `nrepl-client-filter' on every response received. The current
buffer will be connection (REPL) buffer of the process. These functions
should take a single argument, a dict representing the message. See
`nrepl--dispatch-response' for an example.
These functions are called before the message's own callbacks, so that they
can affect the behavior of the callbacks. Errors signaled by these
functions are demoted to messages, so that they don't prevent the
callbacks from running.")