Function: nrepl--mark-id-completed
nrepl--mark-id-completed is a byte-compiled function defined in
nrepl-client.el.
Signature
(nrepl--mark-id-completed ID)
Documentation
Move ID from nrepl-pending-requests to nrepl-completed-requests.
It is safe to call this function multiple times on the same ID.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/nrepl-client.el
(defun nrepl--mark-id-completed (id)
"Move ID from `nrepl-pending-requests' to `nrepl-completed-requests'.
It is safe to call this function multiple times on the same ID."
;; FIXME: This should go away eventually when we get rid of
;; pending-request hash table
(when-let* ((handler (gethash id nrepl-pending-requests)))
(puthash id handler nrepl-completed-requests)
(remhash id nrepl-pending-requests)))