Function: eca-api--send!

eca-api--send! is a natively compiled function defined in eca-api.el.

Signature

(eca-api--send! SESSION BODY)

Documentation

Send to SESSION process the BODY.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-api.el
(defun eca-api--send! (session body)
  "Send to SESSION process the BODY."
  (condition-case err
      (process-send-string (eca--session-process session) (eca-api--make-message body))
    (error (eca-error "Sending to process failed with the following error: %s"
                      (error-message-string err)))))