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.1.tar.gz
md5=47809a9158303a83d5998a20c1d66ff2
sha512=b9b95f145e06a66cf6daf15cd14d1934e60381fdc9bc534f4d0717c2af3c457b0cf9e704d0830ef0d2c4616a3d83e656d100b351a1afe1263699fb424bcd9dff
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)"
>