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/index.html
Module Bonsai_web.Rpc_effect
Source
The place that an RPC should be sent.
The various rpc polling functions in this module return a Poll_result.t
, containing the current state and some historical state of the RPC.
A Shared_poller
is a handle to a polling-style RPC whose RPCs can be shared between multiple components that might have an interest in polling values with the same types.
A connector specifies a way of creating a connection. This module is exposed to cover exceptional cases; ordinarily, you should prefer to use the Self
and Url
constructors of Where_to_connect.t
, which have a connector backing them that you don't need to explicitly provide.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>