StageExecutionHandler typedef

StageExecutionHandler = Future<OrchestrationStageResult> Function(OrchestrationStageDefinition stage, EnterpriseWorkflowPlan plan, Map<String, OrchestrationStageResult> previousStageResults)

Handler type for executing or delegating a specific workflow stage.

Implementation

typedef StageExecutionHandler = Future<OrchestrationStageResult> Function(
  OrchestrationStageDefinition stage,
  EnterpriseWorkflowPlan plan,
  Map<String, OrchestrationStageResult> previousStageResults,
);