-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update github pages for bette documentation
- Loading branch information
Showing
4 changed files
with
52 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Execution Engine Examples | ||
|
||
| Example Code | Trace Output | Trace Graph | | ||
|----------------------------------------|--------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| [authentication.ts](authentication.ts) | [authentication.json](authentication.json) | [Graph Results](https://tabkram.github.io/json-to-graph/?data=https://raw.githubusercontent.com/tabkram/execution-engine/main/examples/authentication.json) | | ||
| [car.ts](car.ts) | [car.json](car.json) | [Graph Results](https://tabkram.github.io/json-to-graph/?data=https://raw.githubusercontent.com/tabkram/execution-engine/main/examples/car.json) | | ||
| [weather.ts](weather.ts) | [weather.json](weather.json) | [Graph Results](https://tabkram.github.io/json-to-graph/?data=https://raw.githubusercontent.com/tabkram/execution-engine/main/examples/weather.json) | | ||
| [usage.ts](usage.ts) | [usage.json](usage.json) | [Graph Results](https://tabkram.github.io/json-to-graph/?data=https://raw.githubusercontent.com/tabkram/execution-engine/main/examples/usage.json) | | ||
| [usage2.ts](usage2.ts) | [usage2.json](usage2.json) | [Graph Results](https://tabkram.github.io/json-to-graph/?data=https://raw.githubusercontent.com/tabkram/execution-engine/main/examples/usage2.json) | | ||
|
||
### Basic Usage | ||
|
||
- **[usage.ts](usage.ts)**: is a fundamental example of using the `ExecutionEngine`. | ||
|
||
- **[authentication.ts](authentication.ts):** illustrates the sequential execution of functions, providing a detailed trace for each step of the workflow. | ||
|
||
- **[car.ts](car.ts)**: an advanced example showcasing the ability to orchestrate intricate tasks simultaneously and hierarchically. | ||
|
||
### Decorators-based Usage | ||
|
||
- **[usage2.ts](usage2.ts)**: an alternative usage of the `ExecutionEngine` that illustrates the integration of decorators (`@engine` and `@run`) for a more organized and class-based approach. | ||
|
||
- **[weather.ts](weather.ts)**: Advanced example with custom parameters, demonstrating the Execution Engine's versatility in handling complex workflows through decorators (`@engine` and `@run`) within TypeScript classes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
91d233f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage report
Test suite run success
32 tests passing in 5 suites.
Report generated by 🧪jest coverage report action from 91d233f