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 -> ?optimize:bool -> clock:Ui_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 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 -> Ui_incr.Packed.t
val action_input_incr : (_, _) t -> Ui_incr.Packed.t
val clock : (_, _) t -> Ui_incr.Clock.t
val invalidate_observers : (_, _) t -> unit
val reset_model_to_default : (_, _) t -> unit
OCaml

Innovation. Community. Security.