Function: eca-providers--handle-provider-updated
eca-providers--handle-provider-updated is a natively compiled function
defined in eca-providers.el.
Signature
(eca-providers--handle-provider-updated SESSION PROVIDER-STATUS)
Documentation
Update PROVIDER-STATUS in SESSION and refresh the tab.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-providers.el
;; Notification handler
(defun eca-providers--handle-provider-updated (session provider-status)
"Update PROVIDER-STATUS in SESSION and refresh the tab."
(let* ((id (plist-get provider-status :id))
(providers (eca--session-providers session))
(updated (if providers
(cons provider-status
(seq-remove (lambda (p)
(string= (plist-get p :id) id))
providers))
(list provider-status))))
(setf (eca--session-providers session) updated)
(eca-settings-refresh-tab "providers" session)))