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

MethodDescription
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

Contents

  1. 1StepApi interface
  2. 2Methods