package lwt

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

Install

Dune Dependency

Authors

Maintainers

Sources

5.4.2.tar.gz
md5=ba3659a8918d8e7cb0f4ef9a83945f90
sha512=9f46fb2e56dc7bd57a12d5ab4dc68719947a1462f336087a95e991d087bb9b5b8dee2592d0f7d35abc507d9a641dd221c44c949c81d00e26c673a067d94ba3f4

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.