Home > @datashaper/workflow > StepApi
The API available to step functions.
Signature:
export interface StepApi<T> | 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 |