package containers
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
A modular, clean and powerful extension of the OCaml standard library
Install
dune-project
Dependency
Authors
Maintainers
Sources
v2.8.1.tar.gz
md5=d84e09c5d0abc501aa17cd502e31a038
sha512=8b832f4ada6035e80d81be0cfb7bdffb695ec67d465ed6097a144019e2b8a8f909095e78019c3da2d8181cc3cd730cd48f7519e87d3162442562103b7f36aabb
doc/containers.thread/CCTimer/index.html
Module CCTimerSource
Event timer
Used to be part of CCFuture.
A scheduler for events. It runs in its own thread.
set_exn_handler timer f registers f so that any exception raised by a task scheduled in timer is given to f.
Call the callback f after the given number of seconds.
Create a future that evaluates to () at the given Unix timestamp.
every timer n ~f calls f () every n seconds. f() can raise ExitEvery to stop the cycle.
Stop the given timer, cancelling pending tasks. Idempotent. From now on, calling most other operations on the timer will raise Stopped.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page