workflow.stepapi.md
February 13, 2024 ยท View on GitHub
Home > @datashaper/workflow > StepApi
StepApi interface
The API available to step functions.
Signature:
export interface StepApi<T>
Methods
| Method | Description |
|---|---|
| emit(value, socket) | Emits data to an output socket. If undefined, default output. |
| input(socket) | Gets data from an input socket. If undefined, default input |