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: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
# Sequential Workflow Machine
2
2
3
-
[](https://actions-badge.atrox.dev/b4rtaz/sequential-workflow-machine/goto?ref=main)[](/LICENSE)[](https://npmjs.org/package/sequential-workflow-machine)
3
+
[](https://actions-badge.atrox.dev/b4rtaz/sequential-workflow-machine/goto?ref=main)[](/LICENSE)[](https://npmjs.org/package/sequential-workflow-machine)
4
4
5
5
The powerful sequential workflow machine for frontend and backend applications. It provides a simple API for creating own step execution handlers (activities). It supports multiple types of activities. Internally is uses the [xstate](https://github.com/statelyai/xstate) library.
6
6
7
-
This engine uses the same data model as the [Sequential Workflow Designer](https://github.com/nocode-js/sequential-workflow-designer). So you can create a workflow definition in the designer and then run it by this engine easily.
7
+
This machine uses the same data model as the [Sequential Workflow Designer](https://github.com/nocode-js/sequential-workflow-designer). So you can create a workflow definition in the designer and then run it by this machine easily.
8
8
9
9
📝 Check the [documentation](https://nocode-js.com/docs/category/sequential-workflow-machine) for more details.
10
10
@@ -18,7 +18,7 @@ npm i sequential-workflow-model sequential-workflow-machine
18
18
19
19
## 🎬 Usage
20
20
21
-
You can use the engine in a JavaScript or TypeScript application. We recommend to use TypeScript because a workflow uses a lot of data structures and it's hard to maintain data integrity.
21
+
You can use the machine in a JavaScript or TypeScript application. We recommend to use TypeScript because a workflow uses a lot of data structures and it's hard to maintain data integrity.
22
22
23
23
At the beginning you need to define the type of your workflow definition.
24
24
@@ -77,7 +77,7 @@ interface WorkflowGlobalState {
77
77
}
78
78
```
79
79
80
-
Prepare activities for your steps. The engine supports multiple types of activities. The basic activity is the atom activity. It's a simple handler that executes an atomic step and updates the global state.
80
+
Prepare activities for your steps. The machine supports multiple types of activities. The basic activity is the atom activity. It's a simple handler that executes an atomic step and updates the global state.
0 commit comments