Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3583 from eltociear/patch-1
Browse files Browse the repository at this point in the history
fix typo in clojure-sdk.md
  • Loading branch information
v1r3n authored Apr 19, 2023
2 parents b1e2df6 + fe3593f commit e8f1bbe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/docs/how-tos/clojure-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ https://clojars.org/io.orkes/conductor-clojure
;; Will Register a workflow that uses the above task returns nil
(metadata/register-workflow-def options {
:name "cool_clj_workflow"
:description "created programatically from clj"
:description "created programmatically from clj"
:version 1
:tasks [ {
:name "cool_clj_task"
Expand All @@ -69,7 +69,7 @@ https://clojars.org/io.orkes/conductor-clojure
(list {
:name "cool_clj_task"
:execute (fn [someData]
[:completed {:message "Hi From Clj i was created programatically"}])
[:completed {:message "Hi From Clj i was created programmatically"}])
})
options ))

Expand Down Expand Up @@ -126,7 +126,7 @@ Takes the option map and a list/vector of tasks to register. on success it will
```clojure
(metadata/register-workflow-def options {
:name "cool_clj_workflow_2"
:description "created programatically from clj"
:description "created programmatically from clj"
:version 1
:tasks [ {
:name "cool_clj_task_b"
Expand Down Expand Up @@ -186,7 +186,7 @@ The client namespace holds the function to start a workflow and running a worker
(list {
:name "cool_clj_task"
:execute (fn [someData]
[:completed {:message "Hi From Clj i was created programatically"}])
[:completed {:message "Hi From Clj i was created programmatically"}])
})
options ))

Expand All @@ -205,7 +205,7 @@ Will map a java map to a clojure map which may come in handy for workers impleme

``` clojure
(metadata/register-workflow-def options {:name "simple_wf"
:description "created programatically from clj"
:description "created programmatically from clj"
:version 1
:tasks [{:name "simplest_task"
:taskReferenceName "repl_task_ref"
Expand Down

0 comments on commit e8f1bbe

Please sign in to comment.