Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Module Lwt_throttle

module Lwt_throttle : sig..end

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.

module type S = sig..end
module Make (H : Stdlib.Hashtbl.HashedType) : 
  Swith type key = H.t