Liking cljdoc? Tell your friends :D

stepwise.core


denamespace-keysclj

(denamespace-keys response)
source

describe-executionclj

(describe-execution arn)
source

describe-state-machineclj

(describe-state-machine arn)
source

ensure-state-machineclj

(ensure-state-machine name definition)

Create state machine name if not exist; otherwise update with definition.

Arguments: name - state machine keyword name definition - define a state machine using EDN States Language. See README.md

Create state machine `name` if not exist; otherwise update with definition.

Arguments:
name       - state machine keyword name
definition - define a state machine using EDN States Language. See README.md
sourceraw docstring

kill-workersclj

(kill-workers workers)
source

shutdown-workersclj

(shutdown-workers workers)
source

start-execution!clj

(start-execution! state-machine-name)
(start-execution! state-machine-name {:keys [input execution-name]})

Starts a state machine execution. Non-blocking variant. For blocking, use (start-execution!!)

Starts a state machine execution. Non-blocking variant. For blocking, use (start-execution!!)
sourceraw docstring

start-execution!!clj

(start-execution!! state-machine-name)
(start-execution!! state-machine-name {:keys [input execution-name] :as opts})

Starts a state machine execution. Blocking variant. For non-blocking, use (start-execution!)

Starts a state machine execution. Blocking variant. For non-blocking, use (start-execution!)
sourceraw docstring

start-workers!clj

(start-workers! task-handlers)
(start-workers! task-handlers {:keys [task-concurrency]})

Starts activity workers in the background. task-handlers is a map of the form {<activity-resource-keyword> <handler fn>}. Where,

<activity-resource-keyword> must match what has been defined in your state machine, see README.md for example. <handler fn> could either be a fn [1] or a map with [:handler-fn :intercepters] keys [2].

References: [1] See https://github.com/Motiva-AI/stepwise#basic-usage [2] See https://github.com/Motiva-AI/stepwise#interceptors

Starts activity workers in the background. `task-handlers` is a map of
the form {<activity-resource-keyword> <handler fn>}. Where,

<activity-resource-keyword> must match what has been defined in your state
machine, see README.md for example.
<handler fn> could either be a fn [1] or a map with [:handler-fn :intercepters]
keys [2].

References:
[1] See https://github.com/Motiva-AI/stepwise#basic-usage
[2] See https://github.com/Motiva-AI/stepwise#interceptors
sourceraw docstring

wait-all-exit!!clj

(wait-all-exit!! {:keys [exit-chans]})
source

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

× close