package lwt

  1. Overview
  2. Docs
type key
type t
val create : rate:int -> max:int -> n:int -> t
  • parameter rate

    maximum number of connections per second

  • parameter max

    maximum waiting time (in seconds)

  • parameter n

    initial size of the hash table

val wait : t -> key -> bool Lwt.t
  • returns

    false if maximum reached, true else


Innovation. Community. Security.