workflow.stepnodefactory.md
January 18, 2023 ยท View on GitHub
Home > @datashaper/workflow > stepNodeFactory
stepNodeFactory() function
Signature:
export declare function stepNodeFactory<T, Args>(stepFunction: StepFunction<T, Args>): (id: string) => StepNode<T, Args>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| stepFunction | StepFunction<T, Args> |
Returns:
(id: string) => StepNode<T, Args>