package miou
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Composable concurrency primitives for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
miou-0.9.0.tbz
sha256=feb99bbd83a6ff399b5f1aae0907cfd7de5d55503301addde5eb653cc91c38a1
sha512=bb7edc4829cccbba6f52a68ca98ed94d4fa0b5c1aec3fdf956794f6dc9e61d6ea55866845839066e556b8b4eaf71b13f0aeb4983ac27c568505cd6570eb57b31
doc/miou.backoff/Miou_backoff/index.html
Module Miou_backoffSource
Randomized exponential backoff mechanism.
Type of backoff values.
Logarithm of the maximum allowed value for wait.
create creates a backoff value. upper_wait_log, lower_wait_log override the logarithmic upper and lower bound on the number of spins executed by once.
once b executes one random wait and returns a new backoff with logarithm of the current maximum value incremented unless it is already at upper_wait_log of b.
Note that this uses the default Stdlib Random per-domain generator.
reset b returns a backoff equivalent to b except with current value set to the lower_wait_log of b.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>