(every! tw value delay interval)
Schedule some value to be executed at a fixed interval.
Schedule some value to be executed at a fixed interval.
(later! tw value delay)
Schedule some value to be executed later, returns a promise-like object holds the result.
Schedule some value to be executed later, returns a promise-like object holds the result.
(start tick bucket-count)
(start tick bucket-count consumer-fn)
(start tick bucket-count consumer-fn executor)
(start tick bucket-count)
(start tick bucket-count consumer-fn)
Start a timer and return it.
identity
Start a timer and return it. * tick: the tick size of timing wheel * bucket-count: buckets per wheel * consumer-fn: the function will be called when the value emitted, and result will be delivered to task promise. Default function is `identity` * executor: the executor that consumer-fn runs on (only available to JVM hosted clojure). By default consumer function will run on timer thread.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close