(make ms)
Create throttler blocking for at a duration of ms.
Create throttler blocking for at a duration of ms.
(wait {:keys [last-time ms] :or {last-time (atom 0) ms 0}})
Wait for passed throttler. Sleeps for left duration when last call to wait is more recent than ms.
Wait for passed throttler. Sleeps for left duration when last call to wait is more recent than ms.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close