API

Class FlowGraphCodeExecutionBlock

This block takes in a function that is defined OUTSIDE of the flow graph and executes it. The function can be a normal function or an async function. The function's arguments will be the value of the input connection as the first variable, and the flow graph context as the second variable.

Hierarchy (View Summary)

Index
config: IFlowGraphBlockConfiguration

construction parameters

executionFunction: FlowGraphDataConnection<CodeExecutionFunction>

Input connection: The function to execute.

result: FlowGraphDataConnection<any>

Output connection: The result of the function.

value: FlowGraphDataConnection<any>

Input connection: The value to pass to the function.