PersistentAI API Documentation / @persistentai/fireflow-types / executeLeafNode
Function: executeLeafNode()
executeLeafNode(
node,nodeClass,ctx,onAfterPreExecute?):Promise<void>
Defined in: packages/fireflow-types/src/flow/execution/runtime/node-executor.ts:209
Execute a single leaf node (handles all 3 node classes).
Parameters
node
nodeClass
ctx
onAfterPreExecute?
() => Promise<Promise<void>[]>
Optional callback fired after preExecute completes. Returns an array of promises for cascade nodes started in parallel. These are awaited after the main node's execute+postExecute phases.
Returns
Promise<void>