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: docs/core/steps.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,18 +18,6 @@
18
18
19
19
[← Back to main index](../index.md)
20
20
21
-
## What are steps?
22
-
23
-
Steps are the fundamental building blocks of durable functions. A step is a unit of work that executes your code and automatically checkpoints the result. A completed step won't execute again, it returns its saved result instantly. If a step fails to complete, it automatically retries and saves the error after all retry attempts are exhausted.
24
-
25
-
Use steps to:
26
-
- Execute business logic with automatic checkpointing
27
-
- Retry operations that might fail
28
-
- Control execution semantics (at-most-once or at-least-once)
29
-
- Break complex workflows into manageable units
30
-
31
-
[↑ Back to top](#table-of-contents)
32
-
33
21
## Terminology
34
22
35
23
**Step** - A durable operation that executes a function and checkpoints its result. Created using `context.step()`.
@@ -46,6 +34,18 @@ Use steps to:
46
34
47
35
[↑ Back to top](#table-of-contents)
48
36
37
+
## What are steps?
38
+
39
+
Steps are the fundamental building blocks of durable functions. A step is a unit of work that executes your code and automatically checkpoints the result. A completed step won't execute again, it returns its saved result instantly. If a step fails to complete, it automatically retries and saves the error after all retry attempts are exhausted.
40
+
41
+
Use steps to:
42
+
- Execute business logic with automatic checkpointing
43
+
- Retry operations that might fail
44
+
- Control execution semantics (at-most-once or at-least-once)
45
+
- Break complex workflows into manageable units
46
+
47
+
[↑ Back to top](#table-of-contents)
48
+
49
49
## Key features
50
50
51
51
-**Automatic checkpointing** - Results are saved automatically after execution
@@ -592,6 +592,6 @@ For more testing patterns, see:
592
592
593
593
## License
594
594
595
-
See the LICENSEfilefor our project's licensing.
595
+
See the [LICENSE](../../LICENSE)filefor our project's licensing.
0 commit comments