Skip to main content

Examples

Constructors

Methods

Interfaces


Constructors

constructor

Creates a new CustomNode.

Parameters

props
CustomNodeProps<ExecutionConfigType>
Custom node options including optional executionConfig.

Returns

CustomNode

Methods

process

The execution function of the custom node. Must be implemented by subclasses.

Parameters

context
ProcessContext
required
The execution context.
inputs
InputType[]
required
The inputs to the node.

Returns

OutputType | Promise<OutputType>

Interfaces

CustomNodeProps

Configuration for a CustomNode.

Properties

executionConfig?: ExecutionConfigType Execution configuration for the custom node.