workflow.stepnode._constructor_.md

February 13, 2024 ยท View on GitHub

Home > @datashaper/workflow > StepNode > (constructor)

StepNode.(constructor)

Constructs a new instance of the StepNode class

Signature:

constructor(step: StepFunction<T, Args>, inputs?: SocketName[], outputs?: SocketName[]);

Parameters

ParameterTypeDescription
stepStepFunction<T, Args>
inputsSocketName[](Optional)
outputsSocketName[](Optional)

Contents

  1. 1StepNode.(constructor)
  2. 2Parameters