Liking cljdoc? Tell your friends :D
Clojure only.

temporal.workflow

Methods for defining Temporal workflows

Methods for defining Temporal workflows
raw docstring

defworkflowcljmacro

(defworkflow name params* & body)

Defines a new workflow, similar to defn, expecting a 2-arity parameter list and body. Should evaluate to something serializable, which will become available for [[temporal.client.workflow/get-result]].

Arguments:

  • ctx: Context passed through from temporal.client.worker/start
  • args: Passed from 'params' to [[temporal.client.workflow/start]] or [[temporal.client.workflow/signal-with-start]]
(defworkflow my-workflow
    [ctx args]
    ...)
Defines a new workflow, similar to defn, expecting a 2-arity parameter list and body.  Should evaluate to something
serializable, which will become available for [[temporal.client.workflow/get-result]].

Arguments:

- `ctx`: Context passed through from [[temporal.client.worker/start]]
- `args`: Passed from 'params' to [[temporal.client.workflow/start]] or [[temporal.client.workflow/signal-with-start]]

```clojure
(defworkflow my-workflow
    [ctx args]
    ...)
```
sourceraw docstring

get-infoclj

(get-info)

Return info about the current workflow

Return info about the current workflow
sourceraw docstring

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

× close