package ezjs_min
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A bunch of js_of_ocaml shortcuts
Install
dune-project
Dependency
Authors
Maintainers
Sources
0.2.tar.gz
md5=616fa2b92e5132153a0353acf2dc757b
sha512=aa2db089193f07a394e9bcb012d838f9f63124b6116e69999c7fc40a7d03eb5436924a7f2c5cbcc30ff22eb08ba382b8037f4035e4f19a5652711595d0a97fa0
doc/ezjs_min.lwt/Ezjs_min_lwt/Promise/index.html
Module Ezjs_min_lwt.PromiseSource
include module type of struct include Ezjs_min.Promise end
Source
type ('a, 'b) promise_cs =
((unit, ('a -> unit) -> ('b -> unit) -> unit) Js_of_ocaml.Js.meth_callback ->
('a, 'b) promise0 Js_of_ocaml.Js.t)
Js_of_ocaml.Js.constrSource
val promise :
(('a -> unit) -> (Ezjs_min__.Js.error Js_of_ocaml.Js.t -> unit) -> unit) ->
('a, Ezjs_min__.Js.error Js_of_ocaml.Js.t) promise0 Js_of_ocaml.Js.tSource
val jthen0 :
?error:('b Js_of_ocaml__Js.t -> unit) ->
('a, 'b Js_of_ocaml.Js.t) promise0 Js_of_ocaml.Js.t ->
('a -> unit) ->
unitSource
val jthen :
?error:(Ezjs_min__.Js.error Js_of_ocaml.Js.t -> unit) ->
'a promise Js_of_ocaml.Js.t ->
('a -> unit) ->
unitSource
val jthen0_opt :
('a, 'b Js_of_ocaml.Js.t) promise0 Js_of_ocaml.Js.t ->
('a -> unit) option ->
unitSource
val rthen :
'a promise Js_of_ocaml.Js.t ->
(('a, Ezjs_min__.Js.error Js_of_ocaml.Js.t) result -> unit) ->
unitSource
val to_lwt_cb_opt :
('a -> 'b) option ->
(('c, 'a -> unit) meth_callback optdef -> 'd) ->
'b option Lwt.tSource
val promise_lwt :
'a Lwt.t ->
('a, Ezjs_min__.Js.error Js_of_ocaml.Js.t) promise0 Js_of_ocaml.Js.tSource
val promise_lwt_res :
('a, Ezjs_min__.Js.error Js_of_ocaml.Js.t) result Lwt.t ->
('a, Ezjs_min__.Js.error Js_of_ocaml.Js.t) promise0 Js_of_ocaml.Js.t sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>