package hardcaml_event_driven_sim

  1. Overview
  2. Docs
type 'value t
val sexp_of_t : 'value t -> Core.Sexp.t
val create : (module Value_S with type t = 'value) -> 'value t

Creates a new signal with a given initial value.

val read : 'value t -> 'value

Read current value of a signal.

val read_last : 'value t -> 'value

Read previous value of a signal.

val id : 'value t -> Signal_id.t
OCaml

Innovation. Community. Security.