Skip to content

Commit cc59895

Browse files
committed
exposing createTime(ZonedDateTime) to Dapr Workflows
Signed-off-by: salaboy <[email protected]>
1 parent e3e1a5b commit cc59895

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)