Bonsai.Privateval reveal_value : 'a Value.t -> 'a Private_value.tval conceal_value : 'a Private_value.t -> 'a Value.tval reveal_computation : 'a Computation.t -> 'a Private_computation.packedval conceal_computation : 'a Private_computation.packed -> 'a Computation.tval path : Bonsai__.Path.t Computation.tmodule Value = Private_valuemodule Computation = Private_computationmodule Apply_action : sig ... endmodule Environment : sig ... endmodule Meta : sig ... endMeta.Model and Meta.Action contain the necessary functions associated with the hidden model and action types of Bonsai components. These are stored in Computation.packed.
module Snapshot : sig ... endA snapshot represents the state of a component at an instant in time.
module Lifecycle : sig ... endmodule Path : sig ... endmodule Node_path : sig ... endmodule Graph_info : sig ... endmodule Instrumentation : sig ... endmodule Flatten_values : sig ... endval eval :
environment:Environment.t ->
path:Path.t ->
clock:Ui_incr.Clock.t ->
model:'model Ui_incr.t ->
inject_dynamic:('dynamic_action -> unit Effect.t) ->
inject_static:('static_action -> unit Effect.t) ->
('model, 'dynamic_action, 'static_action, 'result) Computation.t ->
('model, 'dynamic_action, 'result) Snapshot.t