(await-termination pool ms)
Await for thread pool termination after shutdown
was called
Await for thread pool termination after `shutdown` was called
(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)}})
(shutdown pool)
Request termination, waiting for current tasks to finish
Request termination, waiting for current tasks to finish
(shutdown! pool)
Request termination, NOT waiting for current tasks to finish
Request termination, NOT waiting for current tasks to finish
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close