Interface IStepHandlerMetadata
- Namespace
- FlowOrchestrator.Core.Execution
- Assembly
- FlowOrchestrator.Core.dll
Registered singleton that associates a step type name with its handler implementation, and provides the bridge to resolve and invoke the handler from DI at execution time.
public interface IStepHandlerMetadata
Properties
Type
The logical type name that matches the "type" field in the flow manifest
(e.g. "HttpCall", "SendEmail").
string Type { get; }
Property Value
Methods
ExecuteAsync(IServiceProvider, IExecutionContext, IFlowDefinition, IStepInstance)
Resolves the handler from sp, deserialises step inputs, invokes the handler,
and returns a normalised IStepResult.
ValueTask<IStepResult> ExecuteAsync(IServiceProvider sp, IExecutionContext ctx, IFlowDefinition flow, IStepInstance step)
Parameters
spIServiceProviderThe DI service provider scoped to the current Hangfire job.
ctxIExecutionContextThe ambient execution context.
flowIFlowDefinitionThe flow definition currently executing.
stepIStepInstanceThe step instance with resolved inputs.