Skip to content

Commit 8beaac9

Browse files
mcruzdevCopilot
andauthored
Update impl/persistence/api/src/main/java/io/serverlessworkflow/impl/persistence/PersistenceInstanceWriter.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 93f7908 commit 8beaac9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

impl/persistence/api/src/main/java/io/serverlessworkflow/impl/persistence/PersistenceInstanceWriter.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ public interface PersistenceInstanceWriter extends AutoCloseable {
3434

3535
CompletableFuture<Void> resumed(WorkflowContextData workflowContext);
3636

37-
CompletableFuture<Void> statusChanged(WorkflowContextData workflowContext, WorkflowStatus status);
37+
default CompletableFuture<Void> statusChanged(
38+
WorkflowContextData workflowContext, WorkflowStatus status) {
39+
return CompletableFuture.completedFuture(null);
40+
}
3841

3942
CompletableFuture<Void> taskRetried(
4043
WorkflowContextData workflowContext, TaskContextData taskContext);

0 commit comments

Comments
 (0)