module Make:
Parameters: |
|
type
key
type
t
val create : rate:int -> max:int -> n:int -> t
rate
: maximum number of connections per secondmax
: maximum waiting time (in seconds)n
: initial size of the hash tableval wait : t -> key -> bool Lwt.t
false
if maximum reached, true
else