Skip to content

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

Function: findStreamChannelsInValue()

findStreamChannelsInValue(value, prefix?): object[]

Defined in: packages/fireflow-types/src/flow/execution/runtime/stream-bridge.ts:360

Recursively find MultiChannel instances in a runtime value object. Keys are sorted alphabetically at each level for determinism.

Used by FlowOutputNode (child) to find MultiChannel instances in this.output, and by ExecuteFlowNode (parent) to find MultiChannel instances in this.event.inputs.

Parameters

value

Record<string, unknown>

prefix?

string = ''

Returns

object[]

Licensed under BUSL-1.1