Uses of Class
io.dapr.durabletask.Task
Packages that use Task
-
Uses of Task in io.dapr.durabletask
Methods in io.dapr.durabletask that return TaskModifier and TypeMethodDescriptionReturns a newTaskthat is completed when all the givenTasks complete.Returns a newTaskthat is completed when all tasks intaskscompletes.Returns a newTaskthat is completed when any of the givenTasks complete.Returns a newTaskthat is completed when any of the tasks intaskscompletes.TaskOrchestrationContext.callActivity(String name) Asynchronously invokes an activity by name and returns a newTaskthat completes when the activity completes.default <V> Task<V>TaskOrchestrationContext.callActivity(String name, Class<V> returnType) Asynchronously invokes an activity by name and returns a newTaskthat completes when the activity completes.TaskOrchestrationContext.callActivity(String name, Object input) Asynchronously invokes an activity by name and with the specified input value and returns a newTaskthat completes when the activity completes.TaskOrchestrationContext.callActivity(String name, Object input, TaskOptions options) Asynchronously invokes an activity by name and with the specified input value and returns a newTaskthat completes when the activity completes.<V> Task<V>TaskOrchestrationContext.callActivity(String name, Object input, TaskOptions options, Class<V> returnType) Asynchronously invokes an activity by name and with the specified input value and returns a newTaskthat completes when the activity completes.default <V> Task<V>TaskOrchestrationContext.callActivity(String name, Object input, Class<V> returnType) Asynchronously invokes an activity by name and with the specified input value and returns a newTaskthat completes when the activity completes.If the activity completes successfully, the returnedTask's value will be the activity's output.TaskOrchestrationContext.callSubOrchestrator(String name) Asynchronously invokes another orchestrator as a sub-orchestration and returns aTaskthat completes when the sub-orchestration completes.TaskOrchestrationContext.callSubOrchestrator(String name, Object input) Asynchronously invokes another orchestrator as a sub-orchestration and returns aTaskthat completes when the sub-orchestration completes.default <V> Task<V>TaskOrchestrationContext.callSubOrchestrator(String name, Object input, Class<V> returnType) Asynchronously invokes another orchestrator as a sub-orchestration and returns aTaskthat completes when the sub-orchestration completes.TaskOrchestrationContext.callSubOrchestrator(String name, Object input, String instanceID, TaskOptions options) Asynchronously invokes another orchestrator as a sub-orchestration and returns aTaskthat completes when the sub-orchestration completes.<V> Task<V>TaskOrchestrationContext.callSubOrchestrator(String name, Object input, String instanceID, TaskOptions options, Class<V> returnType) Asynchronously invokes another orchestrator as a sub-orchestration and returns aTaskthat completes when the sub-orchestration completes.default <V> Task<V>TaskOrchestrationContext.callSubOrchestrator(String name, Object input, String instanceID, Class<V> returnType) Asynchronously invokes another orchestrator as a sub-orchestration and returns aTaskthat completes when the sub-orchestration completes.TaskOrchestrationContext.createTimer(String name, Duration delay) Creates a durable timer that expires after the specified delay.TaskOrchestrationContext.createTimer(String name, ZonedDateTime zonedDateTime) Creates a durable timer that expires after the specified timestamp with specific zone.TaskOrchestrationContext.createTimer(Duration delay) Creates a durable timer that expires after the specified delay.TaskOrchestrationContext.createTimer(ZonedDateTime zonedDateTime) Creates a durable timer that expires after the specified timestamp with specific zone.Task.thenAccept(Consumer<V> fn) Returns a newTaskthat, when this Task completes normally, is executed with this Task's result as the argument to the supplied action.abstract <U> Task<U>Returns a newTaskthat, when this Task completes normally, is executed with this Task's result as the argument to the supplied function.TaskOrchestrationContext.waitForExternalEvent(String name) Waits for an event to be raised namednameand returns aTaskthat completes when the event is received.default <V> Task<V>TaskOrchestrationContext.waitForExternalEvent(String name, Class<V> dataType) Waits for an event to be raised namednameand returns aTaskthat completes when the event is received.TaskOrchestrationContext.waitForExternalEvent(String name, Duration timeout) Waits for an event to be raised namednameand returns aTaskthat completes when the event is received or is canceled whentimeoutexpires.<V> Task<V>TaskOrchestrationContext.waitForExternalEvent(String name, Duration timeout, Class<V> dataType) Waits for an event to be raised namednameand returns aTaskthat completes when the event is received or is canceled whentimeoutexpires.Methods in io.dapr.durabletask that return types with arguments of type TaskModifier and TypeMethodDescriptionReturns a newTaskthat is completed when any of the givenTasks complete.Returns a newTaskthat is completed when any of the tasks intaskscompletes.Methods in io.dapr.durabletask with parameters of type TaskModifier and TypeMethodDescriptionReturns a newTaskthat is completed when all the givenTasks complete.Returns a newTaskthat is completed when any of the givenTasks complete.Method parameters in io.dapr.durabletask with type arguments of type TaskModifier and TypeMethodDescriptionReturns a newTaskthat is completed when all tasks intaskscompletes.Returns a newTaskthat is completed when any of the tasks intaskscompletes.