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
| Parameter | Type | Description |
|---|---|---|
| step | StepFunction<T, Args> | |
| inputs | SocketName[] | (Optional) |
| outputs | SocketName[] | (Optional) |