package bonsai

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type ('i, 'r) t
val create : ?initial_model_sexp:Core.Sexp.t -> clock:Bonsai_test__.Import.Incr.Clock.t -> initial_input:'i -> ('i, 'r) Bonsai.Arrow_deprecated.t -> ('i, 'r) t
val set_input : ('i, _) t -> 'i -> unit
val flush : (_, _) t -> unit

Apply all pending actions and stabilize the incremental graph, updating result.

val schedule_event : (_, _) t -> unit Ui_effect.t -> unit
val result : (_, 'r) t -> 'r
val last_view : (_, _) t -> string
val store_view : (_, _) t -> string -> unit
val trigger_lifecycles : (_, _) t -> unit
val has_after_display_events : (_, _) t -> bool
val disable_bonsai_path_censoring : (_, _) t -> unit
val should_censor_bonsai_path : (_, _) t -> bool
val disable_bonsai_hash_censoring : (_, _) t -> unit
val should_censor_bonsai_hash : (_, _) t -> bool
val sexp_of_model : (_, _) t -> Core.Sexp.t
val input : ('i, _) t -> 'i
val result_incr : (_, 'r) t -> 'r Ui_incr.t
val lifecycle_incr : (_, _) t -> Bonsai_test__.Import.Incr.Packed.t
val apply_action_incr : (_, _) t -> Bonsai_test__.Import.Incr.Packed.t
val clock : (_, _) t -> Bonsai_test__.Import.Incr.Clock.t
val invalidate_observers : (_, _) t -> unit
val reset_model_to_default : (_, _) t -> unit
OCaml

Innovation. Community. Security.