(agent-inherit-fn & body)
A way to force ThreadContext inheritance onto worker threads within Clojure - i.e. Agents. Returns the function to send (1-arg).
A way to force ThreadContext inheritance onto worker threads within Clojure - i.e. Agents. Returns the function to send (1-arg).
(executor-inherit-fn & body)
A way to force ThreadContext inheritance onto worker threads outside of clojure - i.e. Executors. Returns the function to submit (no-args).
A way to force ThreadContext inheritance onto worker threads outside of clojure - i.e. Executors. Returns the function to submit (no-args).
(with-context mdc ndc & body)
Like with-mdc
& with-ndc
combined.
Like `with-mdc` & `with-ndc` combined.
(with-mdc m & body)
Executes <body> after merging Map <m>, with the current MDC map. Restores it back before exiting its scope.
Executes <body> after merging Map <m>, with the current MDC map. Restores it back before exiting its scope.
(with-ndc vs & body)
Executes <body> after pushing <vs>, in the current NDC stack. Pops them back out before exiting its scope.
Executes <body> after pushing <vs>, in the current NDC stack. Pops them back out before exiting its scope.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close