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

ParameterTypeDescription
stepFunctionStepFunction<T, Args>

Returns:

(id: string) => StepNode<T, Args>

Contents

  1. 1stepNodeFactory() function
  2. 2Parameters