package lwt

  1. Overview
  2. Docs
Promises and event-driven I/O

Install

Dune Dependency

Authors

Maintainers

Sources

5.6.1.tar.gz
md5=279024789a0ec84a9d97d98bad847f97
sha512=698875bd3bfcd5baa47eb48e412f442d289f9972421321541860ebe110b9af1949c3fbc253768495726ec547fe4ba25483cd97ff39bc668496fba95b2ed9edd8

doc/lwt.unix/Lwt_throttle/index.html

Module Lwt_throttleSource

Rate limiters.

A rate limiter allows generating sets of promises that will be resolved in the future, at a maximum rate of N promises per second.

The rate limiters in this module support multiple channels, each given a different key by the user. The rate limit applies to each channel independently.

Sourcemodule type S = sig ... end
Sourcemodule Make (H : Hashtbl.HashedType) : S with type key = H.t
OCaml

Innovation. Community. Security.