package bonsai
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A library for building dynamic webapps, using Js_of_ocaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=c78c4476ee6b856846e2d0941e5965009d5e1b853e564b2b1bee61202f0b1ebb
doc/bonsai/Bonsai/Effect_throttling/Poll_result/index.html
Module Effect_throttling.Poll_resultSource
Source
val collapse_to_or_error :
?tag_s:Core.Sexp.t lazy_t ->
'a Core.Or_error.t t ->
'a Core.Or_error.tCollapses values of type 'a Or_error.t t a plain Or_error.t, where the Aborted case is transformed into an error.
The tag_s parameter can be used to add additional info to the error.
Source
val collapse_fun_to_or_error :
?sexp_of_input:('a -> Core.Sexp.t) ->
('a -> 'b Core.Or_error.t t Effect.t) ->
'a ->
'b Core.Or_error.t Effect.tLike collapse_to_or_error, but transforms a function that returns an 'a Or_error.t t instead of just the value.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>