package incremental

  1. Overview
  2. Docs
type 'a t = ('a, state_witness) Var.t
val sexp_of_t : ('a -> Sexplib0.Sexp.t) -> 'a t -> Sexplib0.Sexp.t
val create : ?use_current_scope:bool -> 'a -> 'a t
val set : 'a t -> 'a -> unit
val watch : 'a t -> 'a incremental
val value : 'a t -> 'a
val latest_value : 'a t -> 'a
val replace : 'a t -> f:('a -> 'a) -> unit
OCaml

Innovation. Community. Security.