Class StepDispatchHint
- Namespace
- FlowOrchestrator.Core.Execution
- Assembly
- FlowOrchestrator.Core.dll
Optional hint returned by a step handler to instruct the engine to spawn dynamic child steps (e.g. ForEach iterations) after the handler completes.
public sealed record StepDispatchHint : IEquatable<StepDispatchHint>
- Inheritance
-
StepDispatchHint
- Implements
- Inherited Members
Remarks
Spawn must NOT contain step keys that appear in the static DAG.
Hints are reserved for dynamic fan-out only; use runAfter in the manifest
for static dependencies. The engine validates and throws on violation.
Constructors
StepDispatchHint(IReadOnlyList<StepDispatchRequest>)
Optional hint returned by a step handler to instruct the engine to spawn dynamic child steps (e.g. ForEach iterations) after the handler completes.
public StepDispatchHint(IReadOnlyList<StepDispatchRequest> Spawn)
Parameters
SpawnIReadOnlyList<StepDispatchRequest>Dynamic child steps to enqueue after the parent step succeeds.
Remarks
Spawn must NOT contain step keys that appear in the static DAG.
Hints are reserved for dynamic fan-out only; use runAfter in the manifest
for static dependencies. The engine validates and throws on violation.
Properties
Spawn
Dynamic child steps to enqueue after the parent step succeeds.
public IReadOnlyList<StepDispatchRequest> Spawn { get; init; }