Skip to content

Commit 80e533e

Browse files
committed
update comment in example
1 parent 84c9915 commit 80e533e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

examples/src/main/java/software/amazon/lambda/durable/examples/WaitForConditionExample.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ public class WaitForConditionExample extends DurableHandler<Integer, Integer> {
1717
@Override
1818
public Integer handleRequest(Integer input, DurableContext context) {
1919
// Poll the shipment status until the order is shipped.
20-
// The check function simulates an order shipment status
21-
// which transitions from PENDING > PROCESSING > SHIPPED
20+
// The check function simulates an order shipment (0 -> 1 -> 2 -> 3 -> 4)
2221
return context.waitForCondition(
2322
"wait-for-shipment",
2423
Integer.class,

0 commit comments

Comments
 (0)