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

ParameterTypeDescription
socketSocketName(Optional) The socket name to get data for

Returns:

T | undefined

Contents

  1. 1StepApi.input() method
  2. 2Parameters