Liking cljdoc? Tell your friends :D

resilience.timelimiter


deftimelimitercljmacro

(deftimelimiter name)
(deftimelimiter name config)

Define a time limiter under name.

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

Define a time limiter under `name`.

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

time-limiterclj

(time-limiter)
(time-limiter config)

Create a time limiter with a default or custom time limiter configuration.

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

Create a time limiter with a default or custom time limiter configuration.

Please refer to `time-limiter-config` for allowed key value pairs
within the time limiter configuration.
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