Liking cljdoc? Tell your friends :D

net.core.concurrent

Simple wrapper for basic j.u.concurrent tasks (or future alternatives)

Simple wrapper for basic j.u.concurrent tasks (or future alternatives)
raw docstring

exception-catcherclj

(exception-catcher x)
source

Executablecljprotocol

submit!clj

(submit! executor-service f)

Submits the fn to specified executor, returns a Future

Submits the fn to specified executor, returns a Future
source

executorclj

(executor type)
(executor type
          {:keys [thread-factory num-threads]
           :or {num-threads 1 thread-factory (Executors/defaultThreadFactory)}})

Returns ExecutorService. type can be :single, :cached, :fixed or :scheduled, this matches the corresponding Java instances

Returns ExecutorService.
`type` can be :single, :cached, :fixed or :scheduled, this matches the
corresponding Java instances
sourceraw docstring

uncaught-catching-thread-factoryclj

(uncaught-catching-thread-factory catcher-fn)
source

with-executorclj/smacro

(with-executor executor & body)
source

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

× close