Liking cljdoc? Tell your friends :D

tank.leaky-bucket


ILeakyBucketcljprotocol

full?clj

(full? this)

maybe-put!clj

(maybe-put! this)

put!clj

(put! this)
(put! this timeout-ms)

stop!clj

(stop! this)
source

leaky-bucketclj

(leaky-bucket capacity leak-ms)

Returns a leaky bucket with defined capacity and leak in milliseconds. For more info, see the wikipedia article: https://en.wikipedia.org/wiki/Leaky_bucket

Returns a leaky bucket with defined capacity and leak in milliseconds. For more
info, see the wikipedia article: https://en.wikipedia.org/wiki/Leaky_bucket
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close