Skip to content
This repository was archived by the owner on Jan 8, 2026. It is now read-only.

Latest commit

 

History

History
25 lines (15 loc) · 629 Bytes

File metadata and controls

25 lines (15 loc) · 629 Bytes

Home > @datashaper/workflow > StepApi > emit

StepApi.emit() method

Emits data to an output socket. If undefined, default output.

Signature:

emit(value: T, socket?: SocketName): void;

Parameters

Parameter Type Description
value T The value to emit
socket SocketName (Optional) The socket name to emit data to

Returns:

void