Function: jsonrpc--call-deferred

jsonrpc--call-deferred is a byte-compiled function defined in jsonrpc.el.gz.

Signature

(jsonrpc--call-deferred CONNECTION)

Documentation

Call CONNECTION's deferred actions, who may again defer themselves.

Source Code

;; Defined in /usr/src/emacs/lisp/jsonrpc.el.gz
(defun jsonrpc--call-deferred (connection)
  "Call CONNECTION's deferred actions, who may again defer themselves."
  (when-let* ((actions (hash-table-values (jsonrpc--deferred-actions connection))))
    (jsonrpc--event
     connection 'internal
     :log-text (format "re-attempting deferred requests %s"
                       (mapcar (apply-partially #'nth 2) actions)))
    (mapc #'funcall (mapcar #'car actions))))