package lwt

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

5.10.1.tar.gz
md5=3550f2448bf94379ecd3d480eb8cb070
sha512=361b4fe8b1613683a0cd89fea08d9ae1615f84e771363ba97843c2dda5c3f45b4a4b6c048c8d79fa58d609c45a7e1dfa2b3e9873d02bac82934fd892f8f4fce1

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