Skip to content

Commit 61b62d9

Browse files
authored
Merge pull request #26 from salaboy/1409-zoneddatetime
Exposing createTime(ZonedDateTime) to Dapr Workflows
2 parents e3e1a5b + cc59895 commit 61b62d9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

client/src/main/java/io/dapr/durabletask/TaskOrchestrationContext.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,7 @@ default Task<Task<?>> anyOf(Task<?>... tasks) {
181181
* @param zonedDateTime timestamp with specific zone when the timer should expire
182182
* @return a new {@code Task} that completes after the specified delay
183183
*/
184-
default Task<Void> createTimer(ZonedDateTime zonedDateTime) {
185-
throw new UnsupportedOperationException("This method is not implemented. Please use an orchestration context class that has an implementation for this method.");
186-
}
184+
Task<Void> createTimer(ZonedDateTime zonedDateTime);
187185

188186
/**
189187
* Transitions the orchestration into the {@link OrchestrationRuntimeStatus#COMPLETED} state with the given output.

0 commit comments

Comments
 (0)