Liking cljdoc? Tell your friends :D

org.httpkit.utils


compile-ifcljmacro

(compile-if test then else)
Evaluates `test`. If it returns logical true (and doesn't throw), expands
to `then`, otherwise expands to `else`.
source

java-version>=clj

(java-version>= n)
source

new-workerclj

(new-worker {:as _internal-opts
             :keys [queue-type default-prefix default-queue-size
                    n-min-threads-factor n-max-threads-factor keep-alive-msecs]
             :or {queue-type :array
                  default-queue-size (* 1024 20)
                  default-prefix "http-kit-worker-"
                  n-min-threads-factor 1
                  n-max-threads-factor 1}}
            {:as _user-opts
             :keys [n-min-threads n-max-threads n-threads queue-size prefix
                    allow-virtual?]})
Returns {:keys [n-cores type pool ...]} where `:pool` is a
`java.util.concurrent.ExecutorService`.
source

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

× close