package bonsai
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.web/Bonsai_web/Rpc_effect/Status/State/index.html
Module Status.State
Source
Source
type t =
| Connecting
| Connected
| Disconnected of Core.Error.t
| Failed_to_connect of Core.Error.t
The status of an RPC connection.
state diagram:
START | .------------------. v v \ Connecting -> Connected <-> Disconnected | ^ ^ v | | Failed_to_connect
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>