Liking cljdoc? Tell your friends :D

orrery.client


clientclj

(client)
(client opts)

Create an Orrery HTTP client config map. Options: :base-url (default: $ORRERY_URL or http://localhost:8080)

Create an Orrery HTTP client config map.
Options: :base-url (default: $ORRERY_URL or http://localhost:8080)
raw docstring

complete-taskclj

(complete-task c task-id worker-id variables)

Complete an external task with output variables.

Complete an external task with output variables.
raw docstring

extend-lockclj

(extend-lock c task-id worker-id new-duration-ms)

Extend the lock on an external task (heartbeat).

Extend the lock on an external task (heartbeat).
raw docstring

fail-taskclj

(fail-task c
           task-id
           worker-id
           error-message
           &
           {:keys [retries retry-timeout-ms]
            :or {retries 0 retry-timeout-ms 0}})

Report failure on an external task.

Report failure on an external task.
raw docstring

fetch-and-lockclj

(fetch-and-lock
  c
  {:keys [worker-id subscriptions max-tasks lock-duration-ms request-timeout-ms]
   :or {max-tasks 1 lock-duration-ms 30000 request-timeout-ms 20000}})

Long-poll fetch-and-lock. :subscriptions is a vector of {:topic "t" :process-definition-ids ["def-id"]} :process-definition-ids is optional per subscription; empty means any definition.

Long-poll fetch-and-lock.
:subscriptions is a vector of {:topic "t" :process-definition-ids ["def-id"]}
:process-definition-ids is optional per subscription; empty means any definition.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close