Skip to content

Commit 7bb5ffc

Browse files
JoshVanLdapr-botartur-ciocanu
authored
Adds note about workflow start time (#1444)
Signed-off-by: joshvanl <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Co-authored-by: artur-ciocanu <[email protected]>
1 parent cfb9067 commit 7bb5ffc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sdk-workflows/src/main/java/io/dapr/workflows/client/NewWorkflowOptions.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,10 @@ public NewWorkflowOptions setInput(Object input) {
6363
/**
6464
* Sets the start time of the new workflow.
6565
*
66-
* <p>By default, new workflow instances start executing immediately. This method can be used
67-
* to start them at a specific time in the future.
66+
* <p>By default, new workflow instances start executing immediately. This
67+
* method can be used to start them at a specific time in the future. If set,
68+
* Dapr will not wait for the workflow to "start" which can improve
69+
* throughput of creating many workflows.
6870
*
6971
* @param startTime the start time of the new workflow
7072
* @return this {@link NewWorkflowOptions} object

0 commit comments

Comments
 (0)