Function: eca-chat--task-find-by-id
eca-chat--task-find-by-id is a natively compiled function defined in
eca-chat.el.
Signature
(eca-chat--task-find-by-id ID)
Documentation
Find a task by ID in the current task state.
Returns the task plist or nil.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--task-find-by-id (id)
"Find a task by ID in the current task state.
Returns the task plist or nil."
(when-let* ((tasks (append (plist-get eca-chat--task-state :tasks) nil)))
(-first (lambda (task) (equal id (plist-get task :id))) tasks)))