Function: cider-nrepl-send-sync-request
cider-nrepl-send-sync-request is a byte-compiled function defined in
cider-client.el.
This function is obsolete since 2.0.0; use cider-nrepl-sync-request
instead.
Signature
(cider-nrepl-send-sync-request REQUEST &optional CONNECTION ABORT-ON-INPUT CALLBACK)
Documentation
Send REQUEST to the nREPL server synchronously using CONNECTION.
Hold till final "done" message has arrived and join all response messages of the same "op" that came along and return the accumulated response. If ABORT-ON-INPUT is non-nil, the function will return nil at the first sign of user input, so as not to hang the interface. if CALLBACK is non-nil, it will additionally be called on all received messages.
This positional form is kept for backward compatibility; new code should
prefer the keyword-argument cider-nrepl-sync-request.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-client.el
(defun cider-nrepl-send-sync-request (request &optional connection
abort-on-input callback)
"Send REQUEST to the nREPL server synchronously using CONNECTION.
Hold till final \"done\" message has arrived and join all response messages
of the same \"op\" that came along and return the accumulated response.
If ABORT-ON-INPUT is non-nil, the function will return nil
at the first sign of user input, so as not to hang the
interface.
if CALLBACK is non-nil, it will additionally be called on all received messages.
This positional form is kept for backward compatibility; new code should
prefer the keyword-argument `cider-nrepl-sync-request'."
(cider-nrepl-sync-request request
:connection connection
:abort-on-input abort-on-input
:callback callback))