package bonsai

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val result_incr : 'r t -> 'r Incr.t

An incremental handle on the result of the computation

val lifecycle_incr : _ t -> Incr.Packed.t

An incremental handle on the lifecycle colletion for the computation

val action_input_incr : _ t -> Incr.Packed.t

An incremental handle on the action handler for the computation

val clock : _ t -> Incr.Clock.t

Access the clock that was used when creating the handle

val invalidate_observers : _ t -> unit

Kill everything in this handle by invalidating all the incremental observers. After this function is called, other functions in this module may begin to throw exceptions without warning.

val sexp_of_model : _ t -> Core.Sexp.t

Serilizes the model of the component to a sexp. Used only for debugging

val reset_model_to_default : _ t -> unit

Resets the model of the component back to its initial model. Used only for benchmarking

OCaml

Innovation. Community. Security.