(async-as-necessary & body)
Dispatch the given body as a function sent to async-as-necessary*
Dispatch the given body as a function sent to `async-as-necessary*`
(async-as-necessary* f)
Execute the given function asynchronously, but only if we are in the context
of a with-countdown-latch*
Execute the given function asynchronously, but only if we are in the context of a `with-countdown-latch*`
(with-countdown-latch timeout-ms & body)
Dispatch the given body as a function sent to with-countdown-latch*
with the given timeout-ms
Dispatch the given body as a function sent to `with-countdown-latch*` with the given `timeout-ms`
(with-countdown-latch* timeout-ms f)
Execute the given body with all log statements being executed asynchonously. Before the body is able to return, we will wait for all async logging events to complete.
Execute the given body with all log statements being executed asynchonously. Before the body is able to return, we will wait for all async logging events to complete.
(wrap-timbre-appender appender-config)
Reconfigures a timbre appender to use the countdown latch for its async processing instead of the built-in approach
Reconfigures a timbre appender to use the countdown latch for its async processing instead of the built-in approach
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close