package incremental

  1. Overview
  2. Docs
type 'a t = ('a, state_witness) Observer.t
val sexp_of_t : ('a -> Sexplib0.Sexp.t) -> 'a t -> Sexplib0.Sexp.t
include Core.Invariant.S1 with type 'a t := 'a t
val invariant : ('a -> unit) -> 'a t -> unit
val observing : 'a t -> 'a incremental
val use_is_allowed : _ t -> bool
val value : 'a t -> 'a Core.Or_error.t
val value_exn : 'a t -> 'a
module Update : sig ... end
val on_update_exn : 'a t -> f:('a Update.t -> unit) -> unit
val disallow_future_use : _ t -> unit