AxFlowTypedParallelBranch Generated TypeScript API reference. typescript api api/reference build/apidocs/TypeAlias.AxFlowTypedParallelBranch.md type AxFlowTypedParallelBranch

AxFlowTypedParallelBranch

TypeScript
type AxFlowTypedParallelBranch<TNodes, TState> = (subFlow: AxFlowTypedSubContext<TNodes, TState>) => AxFlowTypedSubContext<TNodes, AxFlowState>;

Defined in: https://github.com/ax-llm/ax/blob/686f8ba96cf652e044cf922b67c16c8f09754a70/src/ax/flow/types.ts#L80

Type Parameters

Type Parameter
TNodes extends Record<string, AxProgrammable<any, any>>
TState extends AxFlowState

Parameters

ParameterType
subFlowAxFlowTypedSubContext<TNodes, TState>

Returns

AxFlowTypedSubContext<TNodes, AxFlowState>

Docs