Liking cljdoc? Tell your friends :D

resilience.timelimiter


deftimelimitercljmacro

(deftimelimiter name config)

Define a time limiter under name.

Please refer to time-limiter-config for allowed key value pairs within the rate limiter configurations map.

Define a time limiter under `name`.

Please refer to `time-limiter-config` for allowed key value pairs
within the rate limiter configurations map.
sourceraw docstring

time-limiterclj

(time-limiter config)

Create a time limiter with a configurations map.

Please refer to time-limiter-config for allowed key value pairs within the time limiter configurations map.

Create a time limiter with a configurations map.

Please refer to `time-limiter-config` for allowed key value pairs
within the time limiter configurations map.
sourceraw docstring

time-limiter-configclj

(time-limiter-config opts)

Create a TimeLimiterConfig.

Allowed options are:

  • :timeout-millis Configures the thread execution timeout. Default value is 1 second.

  • :cancel-running-future? Configures whether cancel is called on the running future. Defaults to true.

Create a TimeLimiterConfig.

Allowed options are:
* :timeout-millis
  Configures the thread execution timeout.
  Default value is 1 second.

* :cancel-running-future?
  Configures whether cancel is called on the running future.
  Defaults to true.
 
sourceraw docstring

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

× close