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.5.0.tbz
sha256=50aa6aa6767d3fe1875e35c69e4b1d92346a5f3a0349ac065f2efce6378c89c3
sha512=58736c04b4c5f11165fc04b7b1ffe7183852e994a3617cebc7ecaa6e88244b583712c3d04e5f82bc52241317b71c8c3262d188a6c8f398a3f7813c75a8fc52dd
doc/miou.backoff/Miou_backoff/index.html
Module Miou_backoff
Source
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)"
>