Function: eca-chat--tool-call-elapsed-stop

eca-chat--tool-call-elapsed-stop is a natively compiled function defined in eca-chat.el.

Signature

(eca-chat--tool-call-elapsed-stop ID)

Documentation

Stop tracking elapsed time for tool call ID.

Cancels the shared timer when no more tool calls are being tracked.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--tool-call-elapsed-stop (id)
  "Stop tracking elapsed time for tool call ID.
Cancels the shared timer when no more tool calls are being tracked."
  (remhash id eca-chat--tool-call-elapsed-times)
  (when (and eca-chat--tool-call-elapsed-timer
             (zerop (hash-table-count eca-chat--tool-call-elapsed-times)))
    (cancel-timer eca-chat--tool-call-elapsed-timer)
    (setq eca-chat--tool-call-elapsed-timer nil)))