We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2b27a0 commit 9cd6156Copy full SHA for 9cd6156
1 file changed
sdk/src/main/java/software/amazon/lambda/durable/operation/WaitForConditionOperation.java
@@ -115,7 +115,7 @@ private CompletableFuture<Void> pollReadyAndResumeCheckLoop(Operation existing)
115
.thenCompose(op -> op.status() == OperationStatus.READY
116
? CompletableFuture.completedFuture(op)
117
: pollForOperationUpdates())
118
- .thenRun(() -> resumeCheckLoop(existing));
+ .thenAccept(this::resumeCheckLoop);
119
}
120
121
private void executeCheckLogic(T currentState, int attempt) {
0 commit comments