package uwt
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
libuv bindings
Install
dune-project
Dependency
Authors
Maintainers
Sources
uwt-0.3.0.2.tar.gz
sha256=1c4a49f4cffc017fff8a47563653f5a9ed4007bbd6705fd9737a211ff3d864e2
md5=25fbbf9b39c072f9667e6fdfba108556
doc/uwt.ext/Uwt_timeout/index.html
Module Uwt_timeout
Timeouts
set the default handler for exception occurring after a timeout. The function lauched after a timeout should not raise any exception. That's why the default handler will exit the program.
val create : int -> (unit -> unit) -> tcreate n f defines a new timeout with n seconds duration. f is the function to be called after the timeout. That function must not raise any exception.
val start : t -> unitstarts a timeout.
val stop : t -> unitstops a timeout.
val change : t -> int -> unitchanges the duration of a timeout.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>