package core_kernel
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
Industrial strength alternative to OCaml's standard library
Install
Dune Dependency
Authors
Maintainers
Sources
core_kernel-v0.14.0.tar.gz
sha256=93dc40648c5e4564cb72b72ab031474372f7b169e7ba7090b28e38e1b72282f1
md5=61420bfc94dbed1667be5e2ebd7c8240
doc/core_kernel.limiter/Limiter/Throttle/index.html
Module Limiter.Throttle
Implements a basic throttle. Users of the throttle must successfully call start_job
before beginning work and must call finish_job
once, and only once, when a job is completed.
type t = private limiter
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val create_exn : now:Core_kernel.Time_ns.t -> max_concurrent_jobs:int -> t
val try_start_job :
t ->
now:Core_kernel.Time_ns.t ->
[ `Start | `Max_concurrent_jobs_running ]
val finish_job : t -> now:Core_kernel.Time_ns.t -> unit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>