Skip to content

Commit 11c31c4

Browse files
author
Maxim Fateev
committed
Comment
1 parent 4116032 commit 11c31c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ public void greetPeriodically(String name, Duration delay) {
8484
activities.greet("Hello " + name + "!");
8585
Workflow.sleep(delay);
8686
}
87+
// Current workflow run stops executing after this call.
8788
continueAsNew.greetPeriodically(name, delay);
89+
// unreachable line
8890
}
8991
}
9092

0 commit comments

Comments
 (0)