package core_kernel
Industrial strength alternative to OCaml's standard library
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=fd2b8c6715794df7a810a62b226f53720f211cd344b4afc9fab0498796d6b466
doc/core_kernel.limiter/Limiter/Token_bucket/index.html
Module Limiter.Token_bucket
Source
Implements a basic token-bucket-based rate limiter. Users of the throttle must successfully call try_take
before doing work.
Source
val create_exn :
now:Core.Time_ns.t ->
burst_size:int ->
sustained_rate_per_sec:float ->
?initial_bucket_level:int ->
unit ->
t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>