Liking cljdoc? Tell your friends :D

clj-countdown-latch.core


async-as-necessarycljmacro

(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*`
sourceraw docstring

async-as-necessary*clj

(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*`
sourceraw docstring

with-countdown-latchcljmacro

(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`
sourceraw docstring

with-countdown-latch*clj

(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.
sourceraw docstring

wrap-timbre-appenderclj

(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
sourceraw docstring

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

× close