(inherit-fn & body)
A way to force ThreadContext inheritance onto worker threads. Returns the function to send/submit. It can take 0 or 1 argument (purely for agent send-ability).
A way to force ThreadContext inheritance onto worker threads. Returns the function to send/submit. It can take 0 or 1 argument (purely for agent send-ability).
(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