package ecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

A variable watcher provides a way to run a function when the value of a variable is changed.

Requires emacs 26.1 or later.

(Info-goto-node "(elisp)Watching Variables")

module Operation : sig ... end
module Event : sig ... end
type t
val add : Core.Source_code_position.t -> 'a Var.t -> f:(Event.t -> unit) -> t

(describe-function 'add-variable-watcher)

val remove : t -> unit

(describe-function 'remove-variable-watcher)