Skip to content

Commit ecb04af

Browse files
author
Maxim Fateev
committed
Removed workfow.wait as it doesn't belong to the sample
1 parent e86ff27 commit ecb04af

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/com/uber/cadence/samples/hello/HelloSignal.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ public static void main(String[] args) throws Exception {
104104
.build();
105105
GreetingWorkflow workflow =
106106
workflowClient.newWorkflowStub(GreetingWorkflow.class, workflowOptions);
107-
workflow.wait();
108107
// Start workflow asynchronously to not use another thread to signal.
109108
WorkflowClient.start(workflow::getGreetings);
110109
// After start for getGreeting returns, the workflow is guaranteed to be started.

0 commit comments

Comments
 (0)