You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dsl-reference.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,9 @@
14
14
+[gRPC](#grpc-call)
15
15
+[HTTP](#http-call)
16
16
+[OpenAPI](#openapi-call)
17
-
-[Sequentially](#sequentially)
18
-
-[Concurrently](#concurrently)
19
-
-[Competitively](#competitively)
17
+
-[Sequential](#sequential)
18
+
-[Concurrent](#concurrent)
19
+
-[Compete](#compete)
20
20
-[Emit](#emit)
21
21
-[For](#for)
22
22
-[Listen](#listen)
@@ -218,9 +218,9 @@ By breaking down the [workflow](#workflow) into manageable [tasks](#task), organ
218
218
The Serverless Workflow DSL defines a list of [tasks](#task) that **must be** supported by all runtimes:
219
219
220
220
-[Call](#call), used to call services and/or functions.
221
-
-[Sequentially](#sequentially), used to define a minimum of two subtasks to perform sequentially.
222
-
-[Concurrently](#concurrently), used to define a minimum of two subtasks to perform concurrently.
223
-
-[competitively](#competitively), used to define a minimum of two subtasks to perform concurrently, with a single possible winner.
221
+
-[Sequential](#sequential), used to define a minimum of two subtasks to perform sequentially.
222
+
-[Concurrent](#concurrent), used to define a minimum of two subtasks to perform concurrently.
223
+
-[Compete](#compete), used to define a minimum of two subtasks to perform concurrently, with a single possible winner.
224
224
-[Emit](#emit), used to emit [events](#event).
225
225
-[For](#for), used to iterate over a collection of items, and conditionally perform a task for each of them.
226
226
-[Listen](#listen), used to listen for an [event](#event) or more.
@@ -407,7 +407,7 @@ do:
407
407
status: available
408
408
```
409
409
410
-
#### Sequentially
410
+
#### Sequential
411
411
412
412
Serves as a pivotal orchestrator within workflow systems, enabling the seamless integration and execution of multiple subtasks one after the other to accomplish complex operations. By encapsulating and coordinating various subtasks, this task type facilitates the efficient execution of intricate workflows.
413
413
@@ -462,7 +462,7 @@ do:
462
462
country: Portugal
463
463
```
464
464
465
-
#### Concurrently
465
+
#### Concurrent
466
466
467
467
Serves as a pivotal orchestrator within workflow systems, enabling the seamless integration and parallel execution of multiple subtasks to accomplish complex operations and increase performace. By encapsulating and coordinating various subtasks, this task type facilitates the efficient execution of intricate workflows.
468
468
@@ -500,15 +500,15 @@ do:
500
500
room: ${ .room.number }
501
501
```
502
502
503
-
#### Competitively
503
+
#### Compete
504
504
505
505
Races multiple tasks against each other, with a single possible winner, which sets the task's output. This task type is instrumental in handling scenarios where multiple tasks are competing to achieve a common goal, and only one task is needed to succeed.
506
506
507
507
##### Properties
508
508
509
509
| Name | Type | Required | Description|
510
510
|:--|:---:|:---:|:---|
511
-
| competitively | [`map[string, task][]`](#task) | `yes` | The tasks to perform concurrently. *Must contain **at least** two [`tasks`](#task).* |
511
+
| compete | [`map[string, task][]`](#task) | `yes` | The tasks to perform concurrently. *Must contain **at least** two [`tasks`](#task).* |
512
512
513
513
##### Examples
514
514
@@ -519,7 +519,7 @@ document:
519
519
name: sample-workflow
520
520
version: '0.1.0'
521
521
do:
522
-
competitively:
522
+
compete:
523
523
- callNurse:
524
524
call: http
525
525
with:
@@ -1212,7 +1212,7 @@ Extensions enable the execution of tasks prior to those they extend, offering th
1212
1212
1213
1213
| Property | Type | Required | Description |
1214
1214
|----------|:----:|:--------:|-------------|
1215
-
| extend | `string` | `yes` | The type of task to extend<br>Supported values are: `call`, `sequentially`, `concurrently`, `competitively`, `emit`, `extension`, `for`, `listen`, `raise`, `run`, `set`, `switch`, `try`, `wait` and `all` |
1215
+
| extend | `string` | `yes` | The type of task to extend<br>Supported values are: `call`, `sequentially`, `concurrently`, `compete`, `emit`, `extension`, `for`, `listen`, `raise`, `run`, `set`, `switch`, `try`, `wait` and `all` |
1216
1216
| when | `string` | `no` | A runtime expression used to determine whether or not the extension should apply in the specified context |
1217
1217
| before | [`task`](#task) | `no` | The task to execute, if any, before the extended task |
1218
1218
| after | [`task`](#task) | `no` | The task to execute, if any, after the extended task |
Copy file name to clipboardExpand all lines: dsl.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,9 +101,9 @@ Serverless Workflow DSL allows for defining reusable components that can be refe
101
101
The Serverless Workflow DSL defines several default [task](dsl-reference.md#tasks) types that runtimes **must** implement:
102
102
103
103
-[Call](dsl-reference.md#call), used to call services and/or functions.
104
-
-[Sequentially](dsl-reference.md#sequentially), used to define a minimum of two subtasks to perform sequentially.
105
-
-[Concurrently](dsl-reference.md#concurrently), used to define a minimum of two subtasks to perform concurrently.
106
-
-[Competitively](dsl-reference.md#competitively), used to define a minimum of two subtasks to perform concurrently, and to continue with the first one that completes.
104
+
-[Sequential](dsl-reference.md#sequential), used to define a minimum of two subtasks to perform sequentially.
105
+
-[Concurrent](dsl-reference.md#concurrent), used to define a minimum of two subtasks to perform concurrently.
106
+
-[Compete](dsl-reference.md#compete), used to define a minimum of two subtasks to perform concurrently, and to continue with the first one that completes.
107
107
-[Emit](dsl-reference.md#emit), used to emit [events](dsl-reference.md#event).
108
108
-[For](dsl-reference.md#for), used to iterate over a collection of items, and conditionally perform a task for each of them.
109
109
-[Listen](dsl-reference.md#listen), used to listen for an [event](dsl-reference.md#event) or more.
0 commit comments