Skip to content

Commit 2b6ec0c

Browse files
authored
Merge pull request #9 from mfateev/hello_signal_fix
Removed workfow.wait as it doesn't belong to the sample
2 parents e86ff27 + ecb04af commit 2b6ec0c

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)