Interface IStepExecutor
- Namespace
- FlowOrchestrator.Core.Execution
- Assembly
- FlowOrchestrator.Core.dll
Orchestrates the full lifecycle of a single step execution: resolving the handler,
evaluating input expressions, invoking the handler, and persisting the output.
Implemented by DefaultStepExecutor in the Hangfire layer.
public interface IStepExecutor
Methods
ExecuteAsync(IExecutionContext, IFlowDefinition, IStepInstance)
Executes the step described by step within the given flow and context,
returning the normalised result.
ValueTask<IStepResult> ExecuteAsync(IExecutionContext context, IFlowDefinition flow, IStepInstance step)
Parameters
contextIExecutionContextThe ambient execution context carrying RunId and trigger data.
flowIFlowDefinitionThe flow definition that owns this step.
stepIStepInstanceThe resolved step instance with evaluated inputs.