package js_of_ocaml-lwt
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Compiler from OCaml bytecode to Javascript
Install
dune-project
Dependency
Authors
Maintainers
Sources
3.4.0.tar.gz
sha256=c4fad35dc113d5d710d93fdc81b798d98bc33e675b758587279cd65160178db0
md5=42f914d0410787d65668d2822fdab1a1
doc/js_of_ocaml-lwt/Lwt_jsonp/index.html
Module Lwt_jsonp
val call :
?timeout:float ->
?param:string ->
?prefix:string ->
string ->
'b Lwt.tcall ~timeout ~param url do a jsonp call using url. It uses the named query parameter param (default "callback") to pass the name of the callback. It uses prefix to generate random string for callback name. If a timeout is given and there are no answer before timeout seconds, the lwt thread will be cancelled.
val call_custom_url :
?timeout:float ->
?prefix:string ->
(string -> string) ->
'b Lwt.tcall_custom_url ~timeout make_url. Same as call but let you build your own url given a callback name
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>