Adds note about workflow start time (#1444)

Signed-off-by: joshvanl <me@joshvanl.dev>
Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com>
Co-authored-by: artur-ciocanu <artur.ciocanu@gmail.com>
Signed-off-by: sirivarma <siri.varma@outlook.com>
This commit is contained in:
Josh van Leeuwen 2025-07-14 14:02:01 -03:00 committed by sirivarma
parent 4191fff667
commit e67414144c
1 changed files with 4 additions and 2 deletions

View File

@ -63,8 +63,10 @@ public class NewWorkflowOptions {
/**
* Sets the start time of the new workflow.
*
* <p>By default, new workflow instances start executing immediately. This method can be used
* to start them at a specific time in the future.
* <p>By default, new workflow instances start executing immediately. This
* method can be used to start them at a specific time in the future. If set,
* Dapr will not wait for the workflow to "start" which can improve
* throughput of creating many workflows.
*
* @param startTime the start time of the new workflow
* @return this {@link NewWorkflowOptions} object