Home > @datashaper/workflow > StepNode > (constructor)
Constructs a new instance of the StepNode class
Signature:
constructor(step: StepFunction<T, Args>, inputs?: SocketName[], outputs?: SocketName[]);| Parameter | Type | Description |
|---|---|---|
| step | StepFunction<T, Args> | |
| inputs | SocketName[] | (Optional) |
| outputs | SocketName[] | (Optional) |