Skip to content

Commit cf2c693

Browse files
Update impl/README.md
Co-authored-by: Ricardo Zanini <1538000+ricardozanini@users.noreply.github.com>
1 parent f7efbab commit cf2c693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

impl/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ Once we have the application object, we use it to parse our definition examples.
157157

158158
A [WorkflowDefinition](core/src/main/java/io/serverlessworkflow/impl/WorkflowDefinition.java) object is immutable and therefore thread safe. It is used to execute as many workflow instances as desired.
159159

160-
To execute a workflow, we first create a [WorkflowInstance](core/src/main/java/io/serverlessworkflow/impl/WorkflowInstance.java) object (the initial status is PENDING) and then invoke `start` method on it (the status is changed to RUNNING). `start` method returns a [CompletableFuture](https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html), which we use to indicate that a log message should be printed when the workflow is completed.
160+
To execute a workflow, we first create a [WorkflowInstance](core/src/main/java/io/serverlessworkflow/impl/WorkflowInstance.java) object (its initial status is PENDING) and then invoke the `start` method on it (its status is changed to RUNNING). The `start` method returns a [CompletableFuture](https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html), which we use to indicate that a log message should be printed when the workflow is completed.
161161

162162
```java
163163
WorkflowInstance waitingInstance = listenDefinition.instance(Map.of());

0 commit comments

Comments
 (0)