package bonsai

  1. Overview
  2. Docs
A library for building dynamic webapps, using Js_of_ocaml

Install

Dune Dependency

Authors

Maintainers

Sources

bonsai-v0.16.0.tar.gz
sha256=1d68aab713659951eba5b85f21d6f9382e0efa8579a02c3be65d9071c6e86303

doc/bonsai.driver/Bonsai_driver/Expert/index.html

Module Bonsai_driver.ExpertSource

Sourceval result_incr : 'r t -> 'r Incr.t

An incremental handle on the result of the computation

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

An incremental handle on the lifecycle colletion for the computation

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

An incremental handle on the action handler for the computation

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

Access the clock that was used when creating the handle

Sourceval 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.

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

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

Sourceval 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.