Package kalix.javasdk.workflowentity
Class WorkflowEntity.StepBuilder.AsyncCallStepBuilder<CallInput,CallOutput>
Object
kalix.javasdk.workflowentity.WorkflowEntity.StepBuilder.AsyncCallStepBuilder<CallInput,CallOutput>
- Enclosing class:
- WorkflowEntity.StepBuilder
public static class WorkflowEntity.StepBuilder.AsyncCallStepBuilder<CallInput,CallOutput>
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionAsyncCallStepBuilder(String name, Function<CallInput, CompletionStage<CallOutput>> callFunc) -
Method Summary
Modifier and TypeMethodDescriptionandThen(Function<CallOutput, WorkflowEntity.Effect.TransitionalEffect<Void>> transitionFunc) Transition to the next step based on the result of the step action.
-
Constructor Details
-
AsyncCallStepBuilder
-
-
Method Details
-
andThen
@ApiMayChange public WorkflowEntity.AsyncCallStep<CallInput,CallOutput, andThen?> (Function<CallOutput, WorkflowEntity.Effect.TransitionalEffect<Void>> transitionFunc) Transition to the next step based on the result of the step action.- Parameters:
transitionFunc- Function that transform the action result to aWorkflowEntity.Effect.TransitionalEffect- Returns:
- AsyncCallStep
-