Skip to main content

Interface: LoopState<TCustomState>

Defined in: packages/core/src/graph/loop-with-state.ts:9

Loop State passed to condition function

Type Parameters​

TCustomState​

TCustomState extends Record<string, unknown> = Record<string, unknown>

Properties​

customState​

customState: TCustomState

Defined in: packages/core/src/graph/loop-with-state.ts:13


history​

history: unknown[]

Defined in: packages/core/src/graph/loop-with-state.ts:11


iteration​

iteration: number

Defined in: packages/core/src/graph/loop-with-state.ts:10


previousResult​

previousResult: unknown

Defined in: packages/core/src/graph/loop-with-state.ts:12