Skip to content

PersistentAI API Documentation / @persistentai/fireflow-types / traversePorts

Function: traversePorts()

traversePorts(node, visitor): void

Defined in: packages/fireflow-types/src/node/traverse-ports.ts:17

Traverse all ports of a node

Parameters

node

INode

Node to traverse

visitor

(port) => void | Promise<void>

Visitor function

Returns

void

Licensed under BUSL-1.1