File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -45,11 +45,11 @@ Return values
45
45
Machine tasks have three different allowed return values all of which will
46
46
cause the process to behave differently:
47
47
48
- `` None ` `:
48
+ :class: ` None `:
49
49
If a task returns ``None `` or anything at all the process will just
50
50
proceed as planed and follow all outgoing edges and execute the nexttasks.
51
51
52
- `` Iterable ` `:
52
+ :class: ` Iterable `:
53
53
A task can return also an explicit list of tasks that should be executed
54
54
next. This can be used to create exclusive gateways::
55
55
@@ -84,7 +84,10 @@ cause the process to behave differently:
84
84
A task can also return am empty list. This will cause the process branch
85
85
to come to a halt and no further stats will be started.
86
86
87
- ``False ``:
87
+ .. warning ::
88
+ A task can not be a generator (*yield * results).
89
+
90
+ :class: `False `:
88
91
A task can also return a boolean. Should a task return ``False `` the
89
92
process will wait until the condition changes to ``True `` (or anything but
90
93
``False ``)::
You can’t perform that action at this time.
0 commit comments