Function: jsonrpc-notify

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

Signature

(jsonrpc-notify CONNECTION METHOD PARAMS)

Documentation

Notify CONNECTION of something, don't expect a reply.

CONNECTION, METHOD and PARAMS as in jsonrpc-async-request (which see).

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/jsonrpc.el.gz
(cl-defun jsonrpc-notify (connection method params)
  "Notify CONNECTION of something, don't expect a reply.
CONNECTION, METHOD and PARAMS as in `jsonrpc-async-request' (which see)."
  (apply #'jsonrpc-connection-send connection
         :method method
         (unless (eq params :jsonrpc-omit) `(:params ,params))))