Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gvdongen committed Jun 13, 2024
1 parent d7bfed2 commit 87110c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/develop/java/workflows.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Have a look at the code example to get a better understanding of how workflows a

Every workflow needs a `run` handler.
This handler has access to the same SDK features as Service and Virtual Object handlers.
For example, use [`ctx.run`](/develop/java/journaling-results#journaled-actions) to log intermediate results in Restate and avoid re-execution on replay.
For example, use [`ctx.runBlock`](/develop/java/journaling-results#journaled-actions) to log intermediate results in Restate and avoid re-execution on replay.

```kotlin SignupWorkflow.kt mark=9:24
CODE_LOAD::kotlin/src/main/kotlin/develop/workflows/SignupWorkflow.kt
Expand Down

0 comments on commit 87110c2

Please sign in to comment.