diff --git a/client/src/main/java/io/dapr/durabletask/TaskOrchestrationContext.java b/client/src/main/java/io/dapr/durabletask/TaskOrchestrationContext.java index 921522ee..2d4749ee 100644 --- a/client/src/main/java/io/dapr/durabletask/TaskOrchestrationContext.java +++ b/client/src/main/java/io/dapr/durabletask/TaskOrchestrationContext.java @@ -181,9 +181,7 @@ default Task> anyOf(Task... tasks) { * @param zonedDateTime timestamp with specific zone when the timer should expire * @return a new {@code Task} that completes after the specified delay */ - default Task createTimer(ZonedDateTime zonedDateTime) { - throw new UnsupportedOperationException("This method is not implemented. Please use an orchestration context class that has an implementation for this method."); - } + Task createTimer(ZonedDateTime zonedDateTime); /** * Transitions the orchestration into the {@link OrchestrationRuntimeStatus#COMPLETED} state with the given output.