workflow.stepapi.input.md
February 13, 2024 ยท View on GitHub
Home > @datashaper/workflow > StepApi > input
StepApi.input() method
Gets data from an input socket. If undefined, default input
Signature:
input(socket?: SocketName): T | undefined;
Parameters
| Parameter | Type | Description |
|---|---|---|
| socket | SocketName | (Optional) The socket name to get data for |
Returns:
T | undefined