Liking cljdoc? Tell your friends :D

lasync.core


available-coresclj

source

await-terminationclj

(await-termination pool ms)

Await for thread pool termination after shutdown was called

Await for thread pool termination after `shutdown` was called
sourceraw docstring

default-rejected-fnclj

(default-rejected-fn runnable _)
source

executeclj

(execute pool f)
source

fork-catclj

(fork-cat pool fs)

a.k.a. 🔱 🐱

a.k.a. 🔱 🐱 
sourceraw docstring

poolclj

(pool)
(pool {:keys [threads max-threads name limit thread-factory keep-alive-ms
              allow-core-thread-timeout rejected-fn queue]
       :or {threads (number-of-threads)
            name "lasync-thread"
            keep-alive-ms 60000
            allow-core-thread-timeout false
            limit 1024
            rejected-fn default-rejected-fn
            thread-factory (thread-factory name)}})
source

shutdownclj

(shutdown pool)

Request termination, waiting for current tasks to finish

Request termination, waiting for current tasks to finish
sourceraw docstring

shutdown!clj

(shutdown! pool)

Request termination, NOT waiting for current tasks to finish

Request termination, NOT waiting for current tasks to finish
sourceraw docstring

statsclj

(stats pool)
source

submitclj

(submit pool f)
source

thread-factoryclj

(thread-factory name)
source

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

× close